服务器iis如何开启tlsv1.2协议,Windows系统中IIS启用TLS 1.2

ec81b6dd45b9a557e296717a0ab5f2b1.png摘要:

本篇教程以:Windows 2008操作系统为例,设置办法可以参考如下三种办法其中的一种,新手推荐使用第三种方法操作前记得先备份下注册表以免出错一、修改注册表方法1、点击右下角开始...

本篇教程以:Windows 2008操作系统为例,设置办法可以参考如下三种办法其中的一种,新手推荐使用第三种方法

操作前记得先备份下注册表以免出错

一、修改注册表方法

1、点击右下角开始菜单 >> 选择运行

9272bd22c13e74ca9221d598ae0ce2d8.png

2、在弹出的运行窗口中输入 regedit 然后点击确定打开注册表管理界面

4b89068396277471f4839265f83e1ada.png

3、在注册表管理界面找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

3ad318c928d5e6d2656cd6ff22705870.png

4、右击Protocols 在弹出的菜单中选择新建 >> 项 >> 新建TLS 1.1,TLS 1.2

81e9843220a2dd46b59d09ef0e1be248.png

5、在文件TLS 1.1和TLS 1.2分别 右键 >> 新建 >> 项 >> 新建Server, Client

fbfb5a9d3809e4fe4554c688ed4c8d7a.png

6、.在新建的Server和Client中都新建如下的项(DWORD 32位值),总共4个

名称:DisabledByDefault [Value = 0]

名称:Enabled [Value = 1]

4d193a3879ce935f3c402612d4523c38.png

da01eb760feac3fe2c100cee5e4cbb92.png

d26c52147731e9600a67833243c551f3.png

4140c29e06af04f72a18c6fff59a6ba1.png

二、直接导入注册表文件方法

ps:导入注册表文件中的双引号是英文字母的双引号,不是中文的双引号Windows Registry Editor Version 5.00

[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

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

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]

"DisabledByDefault"=dword:00000000

"Enable"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]

"DisabledByDefault"=dword:00000000

"Enable"=dword:00000001

[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

"Enable"=dword:00000001

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

"DisabledByDefault"=dword:00000000

"Enable"=dword:00000001

三、 傻瓜式操作方法

1、下载IISCrypto.exe ,需要安装NET4.0程序才能运行

官网地址https://www.nartac.com/Products/IISCrypto/Download

364d0ff093a849cf756fefaca1d3fb8c.png

2、打开软件,配置如下,勾选上TLS 1.2,并去掉不需要的,然后点击”apply“ 软件弹窗提醒你 A reboot of your computer is required for the settings to take effect.  (IIS Crypto will not reboot your computer.) 手动重启服务器。搞定!

075d4f0361db457723fea91062826786.png

可以通过这个网页测试检测网站是否支持TLS1.2

https://www.ssllabs.com/ssltest/index.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值