How to enable TLS 1.2 on Windows Server 2008 R2

本文介绍如何在Windows Server 2008 R2上通过编辑注册表来启用TLS 1.2协议,包括创建必要的注册表项及重启服务器等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Problem

How to enable TLS 1.2 on Windows Server 2008 R2?

Resolution

QuoVadis recommends enabling and using the TLS 1.2 protocol on your server.  TLS 1.2 has improvements over previous versions of the TLS and SSL protocol which will improve your level of security.  By default, Windows Server 2008 R2 does not have this feature enabled.  This KB article will describe the process to enable this.

 

    1. Start the registry editor by clicking on Start and Run. Type in "regedit" into the Run field (without quotations).

 

    1. Highlight Computer at the top of the registry tree.  Backup the registry first by clicking onFile and then on Export.  Select a file location to save the registry file.


Note:

    1.  You will be editing the registry.  This could have detrimental effects on your computer if done incorrectly, so it is strongly advised to make a backup.



    1. Browse to the following registry key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

 

    1. Right click on the Protocols folder and select New and then Key from the drop-down menu. This will create new folder.  Rename this folder to TLS 1.2.

 

    1. Right click on the TLS 1.2 key and add two new keys underneath it.

 

    1. Rename the two new keys as:
  • Client
  • Server

 

    1. Right click on the Client key and select New and then DWORD (32-bit) Value from the drop-down list.

 

    1. Rename the DWORD to DisabledByDefault.

 

    1. Right-click the name DisabledByDefault and select Modify... from the drop-down menu.

 

    1. Ensure that the Value data field is set to 0 and the Base is Hexadecimal.  Click on OK.

 

    1. Create another DWORD for the Client key as you did in Step 7.

 

    1. Rename this second DWORD to Enabled.

 

    1. Right-click the name Enabled and select Modify... from the drop-down menu.

 

    1. Ensure that the Value data field is set to 1 and the Base is Hexadecimal. Click on OK.

 

    1. Repeat steps 7 to 14 for the Server key (by creating two DWORDs, DisabledByDefaultand Enabled, and their values underneath the Server key).

 

  1. Reboot the server.

Your server should now support TLS 1.2.

 

Note: This article cannot be used on a Windows Server 2003 (IIS 6).  Windows Server 2003 does not support the TLS 1.2 protocol.

Reverting Back

If you make a mistake or something just isn't right, you can revert back to your previous registry settings by opening the Registry Editor and importing the backup you made in step x.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值