Make sure that your .NET framework is configured to support TLS 1.2.
.NET 4.0 does not enable TLS 1.2 by default. To enable TLS 1.2 by default:
In the following two registry keys, set the SchUseStrongCrypto DWORD value to 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319.
If these keys do not exist, create them. These changes can be made by using the following import file: https://help.salesforce.com/apex/HTViewSolution?id=000221207.
Note that these registry keys will enable TLS 1.2 by default in all installed .NET 4.0, 4.5, 4.5.1, and 4.5.2 applications on your system. These registry values will not have an affect on .NET applications that set the System.Net.ServicePointManager.SecurityProtocol value.
It is recommended to test this change before deploying it to your production servers.
|