sta/websocket-sharp

TLS 1.3 bug at connection client side

LordKBX opened this issue · 3 comments

In accordance with the title given, i have problems when i try to connect the client part on a websocket service accepting only Tls1.3
For information the server part is made with websocket-sharp has well but is fully usable with a web browser.

the following errors appears

'System.Security.Authentication.AuthenticationException' in System.Private.CoreLib.dll
'WebSocketSharp.WebSocketException' in websocket-sharp.dll
An exception has occurred while connecting.

For information i use a compiled version in .net 6.0 from a clone of the repository of due date 2023-09-26
Use a self signed cert created with Pluralsight.Crypto also recompiled in .Net 6.0

I get the same error,use winform client wss connect is ok ,but in web ,js client wss connect is error

In the web browser for a successful activation you need to directly go to the address and valid the certificate