Answers for "the ssl connection could not be established, see inner exception."

0

the ssl connection could not be established, see inner exception.

Yes, you can Bypass the certificate using below code...

HttpClientHandler clientHandler = new HttpClientHandler();
clientHandler.ServerCertificateCustomValidationCallback = (sender, cert, chain, sslPolicyErrors) => { return true; };

// Pass the handler to httpclient(from you are calling api)
HttpClient client = new HttpClient(clientHandler)
Posted by: Guest on March-11-2021

Code answers related to "the ssl connection could not be established, see inner exception."

Browse Popular Code Answers by Language