服务器和客户端中的TLS1.2升级

时间:2020-07-20 16:37:19

标签: .net

我有服务(.net服务),它必须与服务器启用的TLS 1.2通信,我正在客户端System.Net.ServicePointManager.SecurityProtocol |= System.Net.SecurityProtocolType.Tls1|System.Net.SecurityProtocolType.Tls12;中使用以下代码

但是我很少混淆哪个客户端将使用TLS1.1或TLS1.2进行身份验证,或者我是否需要强制在客户端中使用TLS1.2。 System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

我将.net框架更新为4.5以上版本

谢谢。

0 个答案:

没有答案