Thursday, August 13, 2015

How to enable TLS 1.2 on Windows Server 2008 R2

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).

  2. Highlight Computer at the top of the registry tree.  Backup the registry first by clicking on File and then onExport.  Select a file location to save the registry file.

  3. Note: 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.

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

  5. 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.

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

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

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

  9. Rename the DWORD to DisabledByDefault.

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

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

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

  13. Rename this second DWORD to Enabled.

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

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

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

  17. 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.

No comments:

Post a Comment