EPiServer CMS 6 R2 and TLS 1.2

Vote:
 

Hi,

Has anyone had any experience of using TLS 1.2 with CMS 6 R2?

The site is .NET 2.0 but I believe this is possible based on this post https://stackoverflow.com/questions/41863129/how-to-enable-tls-1-2-for-api-call-in-asp-net-2-0-application

Has anyone else done this and did it work or were there any pitfalls?

Thanks in advance,

Mark

#201628
Feb 25, 2019 15:37
Vote:
 

I used this in global asax in application start (but for newer .NET version though)

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolTypeExtensions.Tls12;

You will probably need .NET 4.5 at least I guess.
#202148
Mar 15, 2019 16:23
Vote:
 

I would recommend to go with `|=`

ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
#202155
Mar 16, 2019 6:21
Vote:
 

I prefer setting it on the server by changing registry keys. If you for example run dotnet stuff where you don't have access to the source code such as ImageVault4 those will be covered as well.

https://blogs.perficient.com/2016/04/28/tsl-1-2-and-net-support/

https://support.microsoft.com/en-us/help/3154519/support-for-tls-system-default-versions-included-in-the-net-framework

#202173
Mar 18, 2019 13:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.