kerryjiang / SuperSocket

SuperSocket is a light weight, cross platform and extensible socket server application framework.
Apache License 2.0
3.95k stars 1.15k forks source link

如何在2.0-beta10中启用TLS,我按照文档中的方法配置了服务端,但出现错误 #552

Open Nepcix opened 2 years ago

Nepcix commented 2 years ago

客户端使用EasyClient 如果不设置client.Security.EnabledSslProtocols则完全无法建立连接 设置其为Tls12后服务端则会报错: The decryption operation failed, see inner exception. Win32Exception (0x80090327)处理证书时,出现了一个未知错误

chucklu commented 2 years ago

What's the full stack strace?

Have you read the source code of test project? https://github.com/kerryjiang/SuperSocket/blob/master/test/SuperSocket.Tests/RegularHostConfigurator.cs#L26