【发布时间】:2021-05-05 12:44:11
【问题描述】:
我正在使用dotnet CLI 通过 Powershell 脚本运行项目。当我们第一次加载解决方案时,会弹出一个 SSL 通知,提供是/否选项。我想接受或使用dotnet CLI 将 SSL 设置为 true。
这是未启用 SSL 时出现的错误,
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
【问题讨论】:
标签: .net visual-studio powershell .net-core dotnet-cli