Windows Server 启用 TLS 1.2

Windows Server 2008 / 2012 默认没有启用TLS 1.2,导致浏览器访问网站的https证书时,出现解析错误。需要手工开启服务器对TLS 1.2的支持。2016 服务器默认支持 TLS 1.2。


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001


把上面的代码复制到记事本,保存为TLS1.2.reg文件,在服务器上运行后重启服务器。

2024-03-09 Others

发布评论