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>

Signature

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



About Me

Me Hello,my name is Vishwa Mohan Kumar.
I am a Software Architect. This blog is result of my experiments.

Flickr Photos

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Recent Comments

Comment RSS

Live Traffic Feed