Closed
Description
Discovered while switching on TLS 1.3 globally.
Says right in the xmldoc (and verified in the code):
/// <summary>
/// Specifies allowable SSL protocols. Defaults to <see cref="SslProtocols.Tls12" /> and <see cref="SslProtocols.Tls11"/>.
/// </summary>
public SslProtocols SslProtocols { get; set; }
But the best practices doc says don't do this.
I haven't yet located the API that says what the OS-enabled protocols are (we want to force TLS-1.3 on where possible but not all servers support it yet); however our code should be smarter and not force it on when it's a downgrade, so we would want to call it.
The idea of having switches like this in the OS settings is when protocols get broken, the admin can switch them off immediately without waiting for application upgrades.