Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set the default value of SslProtocol to SslProtocols.None. #2106

Merged
merged 2 commits into from
Dec 1, 2024

Conversation

xljiulang
Copy link
Contributor

SslProtocols.None:
Allows the operating system to choose the best protocol to use, and to block protocols that are not secure. Unless your app has a specific reason not to, you should use this field.

@@ -22,7 +22,7 @@ public MqttServerTlsTcpEndpointOptions()

public bool CheckCertificateRevocation { get; set; }

public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a summary comment including a reference to the MSDN so that users will understand the reason for "None" which looks like that SSL is not used at all.

@chkr1011 chkr1011 merged commit 7d40279 into dotnet:master Dec 1, 2024
5 of 6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants