人生贵在坚持!

IIS开启https及TLS升级为1.2

上一篇 / 下一篇  2016-12-21 16:31:15 / 个人分类:其他

最近苹果公司要求APP需要使用HTTPS协议来访问,而且TLS也要升级为1.2,经过查询资料,询问大神也算是有了一个最终的结果。

(1)运行mmc,导入证书;
(2)在IIS中给站点绑定SSL证书;
(3)注册表中启用TLS1.2:
[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

(4)注册表中禁用SSL2.0
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000000

(5)重启计算机。





TAG:

 

评分:0

我来说两句

Open Toolbar