我应该在哪里设置Windows服务器中的TLS安全协议?

问题描述 投票:1回答:1

我是否应该在Windows服务中明确设置TLS 1.2安全协议?

即。是否有一个特定的事件在启动时最好这样做,所以它是全局设置。

c# ssl windows-services tls1.2
1个回答
1
投票

你的问题不是很清楚。我的猜测是

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
© www.soinside.com 2019 - 2024. All rights reserved.