refit
refit copied to clipboard
feature: Fix remote certificate is invalid for https
Is your feature request related to a problem? Please describe.
How-to fix System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch ?
Describe the solution you'd like
https://stackoverflow.com/questions/72211623/how-to-fix-remote-certificate-is-invalid-according-to-the-validation-procedure https://stackoverflow.com/questions/9983265/the-remote-certificate-is-invalid-according-to-the-validation-procedure ServicePointManager.ServerCertificateValidationCallback += (o, c, ch, er) => true;
Describe alternatives you've considered
ForHttpsIgnoreCertificate method