Invoke-WebRequest SSL fails?

前端 未结 4 1737
走了就别回头了
走了就别回头了 2020-12-02 19:00

When I try to use Invoke-WebRequest I\'m getting some weird error:

Invoke-WebRequest -Uri \"https://idp.safenames.com/\"

Invoke-WebRequest : Th         


        
4条回答
  •  渐次进展
    2020-12-02 19:15

    One line:

    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

提交回复
热议问题