Coveo for Sitecore 5 is now available!

Secured Admin Service - Could Not Establish Trust Relationship for the SSL/TLS Secure Channel with Authority Localhost

Symptoms

After Securing the Admin Service, changing the <AdminServiceUri> value in the Coveo.SearchProvider.config file to use https, and adding the username and password of the secured service, you get the error below in the Diagnostic Page or the Indexing Manager:

Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost'.

Cause

When creating the certificate, the signature will use the machine name, and will not accept localhost as a valid authority.

Environment

  • All Coveo for Sitecore 3 minor versions
  • Single server installation
  • Admin Service

Resolution

To solve this issue:

  1. Open the Coveo.SearchProvider.config file and locate the <AdminServiceUri> node.
  2. Change localhost to the name of the machine used to create the certificate’s .pfx file on step 6 of the Securing the Admin Service documentation.