Win10如何开启TLS1.3

  1. 首先Win10需要升级到最新版(20H2 OS Build 19042.804)方法:https://www.microsoft.com/zh-cn/software-download/windows10  立即更新,下载Win10更新助手
  2. 在控制面板中查找“Internet Options”, 打开后进入"Advanced"选项卡。如果有“Use TLS1.3(experimental)”选项,说明已经支持TLS1.3了
  3. 运行regedit,修改注册表

    在“Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols”中增加下图所示的值

     

    在Client和Server中都增加以下的值

      

  4. 重启电脑

  5. 在C#中,需要把 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;改成 ServicePointManager.SecurityProtocol = SecurityProtocolType.SystemDefault | SecurityProtocolType.Tls12;


版权声明:本文为weixin_39796553原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。