Coveo for Sitecore 5 is now available!

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


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'.


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


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


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.
Recommended Articles