[英]Where should I set the TLS Security Protocol in a windows server?
Is there a specific method in a windows service where I should explicitly set the TLS 1.2 security protocol? Windows服务中是否有特定的方法可以明确设置TLS 1.2安全协议?
ie. 即。 is there a specific event on startup that is best to do this so it is globally set.
在启动时是否有特定的事件是最好的方法,所以它是全局设置的
Your question is not very clear. 您的问题不是很清楚。 My guess would be
我的猜测是
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.