Skip to content

Commit 02079a1

Browse files
gewarrenrzikm
andauthored
Update docs/core/compatibility/networking/10.0/ssl-certificate-revocation-check-default.md
Co-authored-by: Radek Zikmund <[email protected]>
1 parent b91447b commit 02079a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core/compatibility/networking/10.0/ssl-certificate-revocation-check-default.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ var serverOptions = new SslServerAuthenticationOptions
4848
};
4949
```
5050

51+
> [!NOTE]
52+
> Due to a bug on the OSX platform, you might encounter certificate validation failures with <xref:System.Security.Cryptography.X509Certificates.X509ChainStatusFlags.RevocationStatusUnknown?displayProperty=nameWithType> in scenarios where the certificate doesn't support revocation checking via OCSP. This is a bug in the underlying platform crypto implementation. To avoid failing the certificate validation if revocation status can't be retrieved, either disable certificate revocation checking as per the previous instructions, or set <xref:System.Security.Cryptography.X509Certificates.X509ChainPolicy> with <xref:System.Security.Cryptography.X509Certificates.X509ChainPolicy.VerificationFlags?displayProperty=nameWithType> set to `X509VerificationFlags.IgnoreEndRevocationUnknown | X509VerificationFlags.IgnoreCertificateAuthorityRevocationUnknown`.
5153
In situations where you can't modify the code, you can restore the previous behavior with one of the following settings:
5254

5355
- Set `System.Net.Security.NoRevocationCheckByDefault` AppContext switch to `true`.

0 commit comments

Comments
 (0)