PowerShell未能创建 SSL/TLS 安全通道。

PowerShell未能创建 SSL/TLS 安全通道。

Posted by inheader on December 24, 2018

前言

​ 今天更新deno的时候PowerShell提示未能创建 SSL/TLS安全通道,于是就去Google了一番,出来了很多结果

最终一一尝试了一番:

答案:

# 在Powershell中运行该条命令
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://apod.nasa.gov/apod/