Using System.Net trace configuration file to troubleshoot Certificate errors in ASP.Net

System.Net trace configuration feature in ASP.Net 2.0 onwards is extremely useful when dealing with certificate related errors.

Jeff P. Sanders from WinInet/System.Net API Escalation team has written this valuable post for troubleshooting ASP.Net certificate related issues.

I am adding it  here as a quick reference for others and myself.

https://blogs.msdn.com/jpsanders/archive/2009/09/16/troubleshooting-asp-net-the-remote-certificate-is-invalid-according-to-the-validation-procedure.aspx

Great article!