Skip to content

Commit b91447b

Browse files
Copilotrzikm
andcommitted
Address review feedback: improve wording and consistency
Co-authored-by: rzikm <[email protected]>
1 parent a1fe5a0 commit b91447b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ The default values of <xref:System.Net.Security.SslClientAuthenticationOptions.C
1616

1717
## Previous behavior
1818

19-
Previously, the default value of <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> and <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> default values was `NoCheck`, meaning certificate revocation lists weren't checked by default.
19+
Previously, the default values of <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> and <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> were <xref:System.Security.Cryptography.X509Certificates.X509RevocationMode.NoCheck?displayProperty=nameWithType>, meaning revocation status of peer certificates wasn't checked by default.
2020

2121
## New behavior
2222

23-
Starting in .NET 10, the default value of <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> and <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> is `Online`, meaning certificate revocation lists are checked online by default.
23+
Starting in .NET 10, the default values of <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> and <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode?displayProperty=nameWithType> are <xref:System.Security.Cryptography.X509Certificates.X509RevocationMode.Online?displayProperty=nameWithType>, meaning revocation status of peer certificates are checked online by default.
2424

2525
## Type of breaking change
2626

@@ -48,7 +48,7 @@ var serverOptions = new SslServerAuthenticationOptions
4848
};
4949
```
5050

51-
In situations where you can't modify the code, you can enable the previous behavior with one of the following settings:
51+
In situations where you can't modify the code, you can restore the previous behavior with one of the following settings:
5252

5353
- Set `System.Net.Security.NoRevocationCheckByDefault` AppContext switch to `true`.
5454
- Set `DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT` environment variable to `true`.

0 commit comments

Comments
 (0)