【问题标题】:Where should I set the TLS Security Protocol in a windows server?我应该在 Windows 服务器中的哪里设置 TLS 安全协议?
【发布时间】:2018-03-05 20:03:15
【问题描述】:

Windows 服务中是否有特定的方法,我应该明确设置 TLS 1.2 安全协议?

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

【问题讨论】:

    标签: c# ssl windows-services tls1.2


    【解决方案1】:

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

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
    

    【讨论】:

    • 启动过程在哪里?服务生命周期中是否有一个启动事件最好将其放入。
    猜你喜欢
    • 2017-03-08
    • 1970-01-01
    • 1970-01-01
    • 2017-10-23
    • 2017-11-14
    • 2016-07-12
    • 1970-01-01
    • 2015-01-28
    • 1970-01-01
    相关资源
    最近更新 更多