ssl - 发布自包含应用程序时无法创建 SSL/TLS 安全通道
问题描述
当我构建它时,控制台输出:
2>An error occurred while sending the request.
2> The request was aborted: Could not create SSL/TLS secure channel.
2>Unable to get repository signature information for source https://api.nuget.org/v3-index/repository-signatures/5.0.0/index.json.
2> An error occurred while sending the request.
2> The request was aborted: Could not create SSL/TLS secure channel.
我已经看到告诉你改变DisabledByDefault
的
答案,\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client
但我没有TLS 1.3
,Protocols
只有SSL 2.0
。
我已将 .NET 更新到 5.0.1,将 .NET CORE 更新到 3.1.404,但这并没有帮助。
解决方案
推荐阅读
- c# - 使用 IdentityServer3 生成访问令牌,无需密码
- c# - 从另一个按钮调用 DataGridView 的 CellContentClick 方法
- python - 如何在会话中使用 cookie?
- python - 如何从 YOLO 获得的坐标(左、上、右、机器人)中裁剪对象?
- statistics - 调整实时序列看起来像预测
- memory - Memory Map 堆栈是如何放置的,堆栈的边界是什么
- html - 将鼠标悬停在一个列表项上也会影响每个列表项
- python - SVR 为所有特征预测相同的值
- php - Woocommerce 将自定义维度包含在 $product 类中
- python - Mac OSX 无法删除 anaconda3 文件夹