Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am working on asp.net application developed using 3.5 framework and recently converted to 4.5 framework and deployed on IIS in windows 2012.

Here my problem is, how to make sure the asp.net(web forms) application(hosted on windows server 2012,IIS 8) to use TLS 1.2. Currently same application is using TLS 1.0.

Please do the help on the same.

What I have tried:

I have searched on many links but didn't found exactly.
and i found some code shown below, but don't know is it correct or not.
I have written the same line of code in Global.asax.cs file.

protected void Application_Start(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
}
Posted

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