Last post Jan 05, 2017 07:28 PM by mgambone
Jan 05, 2017 07:10 PM|mgambone|LINK
I implemented an HSTS (HTTP Strict Transfer Security) in our web server 2008 R2 host to comply with our IT requirements.
However, after doing that, I can't debug my MVC web apps running in the server. It gives me the following error in Firefox browser:
"Secure Connection Failed: Error code: SSL_ERROR_RX_RECORD_TOO_LONG"
Is there some other step I missed in configuring the server? I added the following method in my Global.asax.cs:
protected void Application_BeginRequest()
Appreciate any advice.
Jan 05, 2017 07:28 PM|mgambone|LINK
Never mind. Found out my error: Since I "hardened" the web server by implementing HSTS, I didn't need the BeginRequest() method in my Global.asax.cs file. I deleted it and I can debug now.