powershell请求被中止未能创建 SSL 安全通道
阅读约 1 分钟
16 字
记录 powershell 错误 请求被中止未能创建 SSL 安全通道
解决方案
在 powershell 里面执行下面的代码
1
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
参考资料
https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
除特殊声明外,本博客一律使用以下协议进行授权 「
署名 - 非商业性使用 - 禁止演绎 4.0
」
下一篇