Installing a Self-Signed Certificate as a Trusted Root Certification Authorities

Posted: November 14, 2012 in Web Server, Windows
Tags: , , ,

You may receive this error when you submit your SOAP request to a HTTPs url whose SSL certificate is not trusted by your local machine.

Could not establish trust relationship for SSL/TLS secure channel.

This a quite common scenario in development environment when you develop with a self signed certificate. To get rid of this error, you need install you self-signed certificate to your system’s Trusted Root Certification Authorities.

1. Open Internet Explorer and access the https url. You cannot do this in Chrome. I didn’t try Firefox. You will see a similar page as below.

2. Click Continue to this website.

3. Click Certificate Error beside the address bar and click View Certificate. You will see the screen below.

3. Click Install Certificate

4. In the popup wizard, click Place all certificates in the following store in the below step and click Browse to choose Trusted Root Certification Authorities.

4. Continue to finish the wizard.

To make sure you have added this certificate to your trusted root CA, type mmc in run prompt, then click File->Add/Remove Snap-in to add Certificates. You should be able to see your certificate under Trusted Root Certification Authorities. You can get details from http://msdn.microsoft.com/en-us/library/ms788967.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s