I'm using a .NET HttpClient to connect to a server over HTTPS. For best practice, I want to check the certificate hasn't been revoked, by setting HttpClientHandler.CheckCertificateRevocationList = true.
This check is failing because the firewall is replacing the certificate with a one signed by a private CA (which has been installed on the machine), which passes the other validity checks but fails the revocation checks. I think this is because the new certificate doesn't have any revocation information. How can I allow these certificates while still checking other ones?