To remove weak cipher suites such as TLS_RSA_WITH_3DES_EDE_CBC_SHA (TLS1_RSA_DES_192_CBC3_SHA), which uses 3DES encryption that is considered weak due to its effective 112-bit key size, you need to modify settings in the Windows Registry on the server running Internet Information Services (IIS). This should be done carefully, as incorrect modifications to the registry could lead to serious system issues.
Here are the steps to remove a weak cipher suite in IIS:
-
Backup the Registry: Before making changes, it's always a good practice to back up the current state of your registry. You can do this by opening the Registry Editor and then clicking on File > Export. Save the backup to a secure location.
-
Open Registry Editor:
- Press
Win + R, type in regedit, and hit Enter to open Registry Editor.
-
Navigate to the SCHANNEL Section:
-
Find and Disable Weak Ciphers:
- Within the
Ciphers key, look for subkeys with the names of weak cipher suites like Triple DES 168. If they don't exist, you will need to create them. Right-click on the Ciphers key, select New > Key and name it Triple DES 168.
-
Modify the Value to Disable the Cipher:
- With the
Triple DES 168 subkey selected, right-click in the right pane, select New > DWORD (32-bit) Value, and name it Enabled.
- Double-click on the new
Enabled value to open the edit dialog, and make sure the value is set to 0 (which means disabled).
-
Repeat for Any Other Weak Ciphers:
- If you know about other weak cipher suites, you can repeat the process for those as well, by creating subkeys for them if they don't already exist, and setting the
Enabled DWORD value to 0.
-
Close Registry Editor and Restart Your Server:
- Close Registry Editor.
- It's important to restart the server to apply changes to the SCHANNEL configuration. This can be done either through the Start menu or by issuing the following command in the Command Prompt or PowerShell:
shutdown /r /t 0
The /r flag indicates a restart, and /t 0 specifies no delay.
By taking these steps, you will remove the support for the TLS_RSA_WITH_3DES_EDE_CBC_SHA cipher suite, as well as any other weak cipher suites you have disabled through the registry, from the IIS server. It's good practice to also review and disable other outdated protocols like SSL 3.0 and weak ciphers from time to time to keep your server secure.
Keep in mind that after disabling weak cipher suites, there may be compatibility issues with older clients or devices that do not support more modern ciphers. Ensure that your client base can support the stronger ciphers before making these changes.