websocket-sharp icon indicating copy to clipboard operation
websocket-sharp copied to clipboard

TLS1.2 error, docs can be improved

Open antti31 opened this issue 7 years ago • 2 comments

With current push to disable weak ciphers, the:

close 1015 An exception has occurred while connecting.

error is mostly everywhere. Hence, below procedure: private enum SslProtocolsHack { Tls = 192, Tls11 = 768, Tls12 = 3072 } var sslProtocolHack = (System.Security.Authentication.SslProtocols)(SslProtocolsHack.Tls12 | SslProtocolsHack.Tls11 | SslProtocolsHack.Tls);ws.SslConfiguration.EnabledSslProtocols = sslProtocolHack;

needs be added in default front page documentation, otherwise people might loose a full day just researching for the error code ...

or even better, make this setting the default behavior.

antti31 avatar May 05 '19 21:05 antti31

I'd like to bump on this Issue!

This March Browsers will drop TLS 1.0 and TLS1.1 support entirely. The current default behavior will break applications!

References: Mozilla Firefox Google Chrome

Crydsch avatar Mar 04 '20 19:03 Crydsch

Is this out of date? Doesn't the current behaviour set it to SslProtocols.None which allows the OS to handle TLS?

nelsontkq avatar Dec 14 '20 21:12 nelsontkq