首页 > 解决方案 > Chocolatey 安装错误:请求被中止:无法创建 SSL/TLS 安全通道

问题描述

安装 Chocolatey 时出现以下错误 - ' https://chocolatey.org/install.ps1 '

错误 The request was aborted: Could not create SSL/TLS secure channel

标签: sslchocolatey

解决方案


看起来安全协议已更改:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))


推荐阅读