Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

TLS 1.2 is not supported #138

Open
molovsson opened this issue Nov 15, 2018 · 1 comment
Open

TLS 1.2 is not supported #138

molovsson opened this issue Nov 15, 2018 · 1 comment

Comments

@molovsson
Copy link

When setting up a secure websocket listener, only SSL 3.0 and TLS 1.0 are supported, due to passing SslProtocols.Default to AuthenticateAsServer and AuthenticateAsServerAsync. This causes an issue on machines that only allow TLS 1.2.

If targeting .NET 4.7 and later, the AuthenticateAsServer versions that don't take the SslProtocols parameter (but takes the other parameters currently used) can be used to let the OS choose the best protocol to use. In earlier versions, SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12 can be used to only support the current TLS protocols.

@deniszykov
Copy link

SSL configuration is supported in my fork:
https://github.com/deniszykov/WebSocketListener
WebSocketListenerOptions.SupportedSslProtocols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants