I am using dotnet
CLI to run projects through a Powershell script. There is an SSL notification that pops up when we load the solution for the first time, which gives Yes/No options. I want to accept that or set the SSL to true using dotnet
CLI.
This is the error that occurs when SSL is not enabled,
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)