Welcome to Vishwa's blog - Technology, Spirituality and More...

Certificate Error: Navigation Blocked

There are some situations especially in development or QA environment when you would to like ignore the SSL certificate. Generally this warning occurs when SSL certificate is either assigned to a different domain name, IP Address or self signed. You will most likely see the one of following error or warning messages when information is posted manually through Internet Explorer or FireFox browser.

1. There is a problem with this website's security certificate.
2. The security certificate presented by this website was not issued by a trusted certificate authority.
3. Website Certified by an Unknown Authority.
4. Unable to verify the identity of release as a trusted site.

If you are trying to post a transaction to such URL programmatically, this warning message will come internally and program will finally throw an exception. 

In order to eliminate this issue, the following settings in Web.config will ignore the certificate.

               <servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/>