ssl - Chocolatey 安装错误:请求被中止:无法创建 SSL/TLS 安全通道
问题描述
安装 Chocolatey 时出现以下错误 - ' https://chocolatey.org/install.ps1 '
错误
The request was aborted: Could not create SSL/TLS secure channel
解决方案
看起来安全协议已更改:
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'))
推荐阅读
- python - Python - 地穴模块
- python - W tensorflow/stream_executor/platform/default/dso_loader.cc:59] 无法加载动态库“cudart64_110.dll”;dlerror: 未找到 cudart64_110.dll
- android - Kotlin:从函数返回警报框和 SQL 响应
- usb - 从 USB 接收数据时 FTDI FT245 的行为,其中 concuming 电路读取数据的速度很慢 - 任何流量控制?
- node.js - Discord.js 通过 feed-watcher 进行媒体集成,无法从更新中获取 feed 链接
- c - 如果结构中只包含字符,它是否有填充?
- apache-kafka - kafka 无法从 URL [file:/c/kafka_2.12-2.8.0/bin/../config/tools-log4j.properties] 读取 log4j 配置文件
- python - 如何根据 x 和 y 值生成等高线图的 Z 值
- pyautogui - pyautogui 不与应用程序交互
- python - 我将如何生成鼠标输入并将其传递到另一台设备?