TN.*_*TN. 6 .net c# ssl ssl-certificate
将证书安装到.NET的Local Computer存储中后仍然会抛出:Trusted Root Certification AuthoritiesWebRequest
The request was aborted: Could not create SSL/TLS secure channel
Run Code Online (Sandbox Code Playgroud)
ServicePointManager.SecurityProtocol现在包含SecurityProtocolType.Ssl3| SecurityProtocolType.Tls.
阅读SimonDugré的回答/sf/answers/203347441/后,我设置了:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
Run Code Online (Sandbox Code Playgroud)
它工作正常.回头后:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;
Run Code Online (Sandbox Code Playgroud)
它仍然可以正常工作.我有两个问题:
为什么它仍然有效?有没有缓存?
为什么它以前只是用标志的工作Ssl3,而不能与这两个Ssl3和Tls?
SSL/TLS 会话恢复,可能就是您的情况。也许您没有共享 TLS1 密码套件。最好的检查方法是运行 Wireshark,并查看连接的 SSL 数据包,它们在 Wireshark 中有很好的解释。
| 归档时间: |
|
| 查看次数: |
2329 次 |
| 最近记录: |