“Could not establish trust relationship for the SSL/TLS secure channel with authority…”

If you are getting this error while consuming your WCF service, read this older post first. The other day I was connecting to one of our WCF services, and I got this infamous error. For few hours this challenged me, because it was working on dev server and I got this message when I moved this new client application to QA. It turned out to be a SSL Cert related issue, SSL Cert on that server was issued to a subject (A DNS Name)..and I was connecting using actual server name to connect to the end point…

Lesson Learned: When connecting to a secure end point, make sure that there is no cert based warning like different server/dns name, expired cert etc.


One comment

  1. Pingback: 2010 in review « dotnet etc.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s