I Create a HttpClient and send a request web to web and I got this exception
"The SSL connection could not be established"
this code bypass the exception but I dont want to use this trick on production.
UseDefaultCredentials = true;
ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; };
When I use refit interface for api I dont get any exception, I need to request web to web too. Why I get this exception how could I establish SSL?