Saturday, January 05, 2008

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.

<system.net>
         <settings>
               <servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/>
           </settings>
</system.net>

4 comments:

Anonymous said...

good morning everyone. I'm actually into shoes and I had been searching for the sake of that particular brand. The prices seeking the shoes were approximately 250 dollars everwhere. But completely I found this area selling them for half price. I really love those [url=http://www.shoesempire.com]prada sneakers[/url]. I will absolutely buy them. what can you tell me about these?

Anonymous said...

Hello. And Bye.

Anonymous said...

Amiable fill someone in on and this post helped me alot in my college assignement. Say thank you you as your information.

Anonymous said...

good day friends. I'm really into shoes and I was digging allowing for regarding that singular model. The prices seeking the sneakers were about 330 bucks on every site. But finally I set this area selling them for half price. I really love those [url=http://www.shoesempire.com]gucci sneakers[/url]. I will definetly buy these. what can you tell me about these?