无论如何要使用 dotnet CLI 启用解决方案级别的 SSL?

问题描述

我正在使用 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)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)