【问题标题】:https request : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channelhttps 请求:底层连接已关闭:无法为 SSL/TLS 安全通道建立信任关系
【发布时间】:2017-02-13 07:14:42
【问题描述】:

当我发布肥皂 https 请求时,我收到 https 请求:底层连接已关闭:无法为 SSL/TLS 安全通道建立信任关系。

【问题讨论】:

    标签: c# asp.net


    【解决方案1】:

    当连接到配置为使用不安全(

    最好的选择是让服务器运营商更新为使用安全的 DH 密钥大小。如果这不可行并且您必须能够连接,那么您可能需要遵循以下“已知问题”下的解决方法:Microsoft support link

    本质上,您可以通过在名为ClientMinKeyBitLength 的注册表中创建一个新的 DWORD 值来允许不安全的 Diffie-Hellman 密钥,其值为0x200,位于:HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-06
      • 1970-01-01
      • 2017-05-22
      • 1970-01-01
      • 2012-06-28
      相关资源
      最近更新 更多