I'm facing an issue that when Fiddler is on, I receive RemoteCertificateNameMismatch exception:
Inner Exception 1:
HttpRequestException: The SSL connection could not be established, see inner exception.
Inner Exception 2:
AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
I'm using HttpClient and HttpRequestMessage with SencAsync and when Fiddler is turn-off, it works. If I turn off the option for Decrypt HTTPS traffic (Tools > Options > HTTPS) the request also work, but not capture under fiddler so doesn't help much.
I tried to reinstall Fiddler root certificate but it still occurs.
How can I get over it since I want to inspect my traffic with Fiddler but when it's on the requests fails
Thanks