Wednesday, February 1, 2017

Sitecore Rocks SSL error

When attempting to use Sitecore Rocks on a local Sitecore instance that is set to use a secure connection, the following error was appearing when testing the connection.
Could not establish trust relationship for the SSL/TLS secure channel with authority 'host name'.

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

The remote certificate is invalid according to the validation procedure.


In my case I was using the IIS Express Development Certificate which comes by default with the IIS install. The first thing to check is to ensure that you are using the host name which corresponds with the certificate you are using. In this case the host name localhost is expected.


I was using another host name which is what was causing this error, by changing the host to localhost it worked as expected.

If this doesn't work for you then it may be that the certificate is not trusted. The following article will provide details for trusting your certificate.

No comments:

Post a Comment