Click here to Skip to main content
15,790,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an exe built on .net 2.0 which communicates with aspx files on Windows Server 2012. The exe calls the aspx files for getting the data.

Will there be any issue if Windows Server 2012 is upgraded with TLS 1.2 ?

I get error when trying to connect with https?

What I have tried:

Tried to connenct to server aspx files using vs but get TLS error. any workaround?
Updated 6-Aug-18 5:57am

1 solution

You'll need to recompile the application against .NET 3.5; install a hotfix on the machines that run it; and change the code to enable TLS support:
Support for TLS System Default Versions included in the .NET Framework 3.5 on Windows Server 2012[^]

Alternatively, you can upgrade your application to .NET 4.5 or higher. You will still need to either change the code to enable TLS 1.2, or set a flag in the registry on all machines where you application runs:
Enable strong cryptography in .NET Framework 4.5 or higher[^]

NB: if your application is running on Vista, Server 2008, or any earlier version of Windows, you cannot support TLS 1.2 even if you install the hotfix.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900