statianzo / Fleck

C# Websocket Implementation
MIT License
2.25k stars 583 forks source link

SSL过期问题 #306

Open yuekong2010 opened 3 years ago

yuekong2010 commented 3 years ago

用最新87版谷歌浏览器连接wss提示过时,用以前86版本的谷歌浏览器或者禁用Enforce deprecation of legacy TLS versions才能连接。 是不是fleck不支持tls1.2的原因。 错误:Error in connection establishment: net::ERR_SSL_OBSOLETE_VERSION

yuekong2010 commented 3 years ago

解决了,加个配置就行 wssServer.EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12;