首页 > 解决方案 > 发布自包含应用程序时无法创建 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.3Protocols只有SSL 2.0

我已将 .NET 更新到 5.0.1,将 .NET CORE 更新到 3.1.404,但这并没有帮助。

标签: ssl.net-corebuild

解决方案


推荐阅读