Skip to content

TLS 1.2 is not supported #138

Description

@molovsson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions