当我按下Visual中NuGet包上的“浏览”选项卡时,它会说“错误发生了”,错误消息为
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The request was aborted: Could not create SSL/TLS secure channel.
我已经使用Visual和NuGet很长时间了,几天前NuGet也在工作。有人能弄清楚为什么会发生这种事吗?我能做些什么来解决这个问题?
Visual 2017版本: 15.9.17
发布于 2022-05-19 10:37:05
我使用的是TLS1.2,但缺少一个兼容的密码套件。您可以测试哪些TLS和ciphers nuget使用via:https://www.ssllabs.com/ssltest/analyze.html?d=api.nuget.org,还可以测试在主机via上安装了哪些密码(但不一定启用):Get-TlsCipherSuite或-Path -Name函数。
https://stackoverflow.com/questions/58993743
复制相似问题