Monday, September 4, 2017

Sitecore TDS The remote certificate is invalid according to the validation procedure error

When trying to do a sync using Hedgehog's Team Development for Sitecore (TDS), it was unable to connect to the local Sitecore instance and the following errors were appearing:
Exception The remote certificate is invalid according to the validation procedure. (AuthenticationException)
Exception The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. (WebException)
This is a similar error to an earlier blog post I wrote about Sitecore rocks getting SSL errors. You need to check what host name the certificate you are using on the Sitecore site is assigned to, in my case it was localhost.

IIS Server Certificates

The the next step was to set this certificate as trusted, which this post covers.

Now by setting the Sitecore Web URL property to https://localhost in the TDS project settings, I was successfully able to sync content into the solution.

TDS Sitecore Web URL

No comments:

Post a Comment