Gravatar for sohelsd@gmail.com

Question by sohel, Jul 1, 2015 4:59 PM

Coveo installation issues

Trying to install Coveo for Sitecore. All steps are double verified but I see this error in diagnostic page:

"Could not establish trust relationship for the SSL/TLS secure channel with authority 'search.site.com'. (Show details)." Also see 500 error on REST Endpoint().

  • I copied the cert-iis from CES server to Sitecore server and setup everything accordingly (well, at least the way I see it)
  • Using Sitecore 8 and Coveo's June 2015 build.

Any pointers on where to look?

2 Replies
Gravatar for slangevin@coveo.com

Answer by Simon, Jul 14, 2015 6:18 AM

The issue was with the Admin Service of Coveo.

Using a Secure Admin Service can lead so SSL/TLS certificate issue. To avoid further issues, we recommend following all the steps in this documentation: https://developers.coveo.com/display/public/SC201507/Securing+the+Admin+Service

You can also leave the Admin Service unsecured but it is not recommended.

Gravatar for slangevin@coveo.com

Answer by Simon, Jul 2, 2015 9:14 AM

Few things.

1) Is your CES and Sitecore on the same machine?
2) If so, can you access the [CES machine]:8080/rest/search from the Sitecore server?
3) Is the REST service started on the CES server?

Cheers,
Simon

Gravatar for sohelsd@gmail.com

Comment by sohel, Jul 2, 2015 10:11 AM

Hi Simon, CES and Sitecore are on different machines. I cannot access ces-host:8080/rest/search from sitecore server. Although AdminService comes up fine. From the services console, I can see Coveo Admin Service, Coveo Enterprise Search 7 x64 and Coveo Diagnostic Tool in running state. Is there another service for REST?

Gravatar for slangevin@coveo.com

Comment by Simon, Jul 2, 2015 10:15 AM

Yes, The Coveo Search API 8.0, do you have it installed? Look at point 3 here: https://developers.coveo.com/pages/releaseview.action?pageId=22545153

Gravatar for sohelsd@gmail.com

Comment by sohel, Jul 2, 2015 10:46 AM

I just started it, and ces-host:8080/rest/search returned json object. But the SSL errors still remains on diagnostics page.

Gravatar for slangevin@coveo.com

Comment by Simon, Jul 2, 2015 12:13 PM

Ok, then on the Sitecore server, can you load [sitecore instance name]/coveo/rest ?

Gravatar for sohelsd@gmail.com

Comment by sohel, Jul 2, 2015 1:10 PM

Seeing "The remote certificate is invalid according to the validation procedure". Full error: http://pastebin.com/eVZ18kXr

Gravatar for slangevin@coveo.com

Comment by Simon, Jul 2, 2015 2:26 PM

In the Coveo.SearchProvider.Rest.config, is the secret key in sync with what you have in the config.yml?

Gravatar for sohelsd@gmail.com

Comment by sohel, Jul 2, 2015 3:29 PM

Yes it is same as application/secret: http://pastebin.com/5P8LNC3Z

Gravatar for slangevin@coveo.com

Comment by Simon, Jul 2, 2015 3:44 PM

Ok so one last thing, what is the version of:

  • Your Coveo instance
  • Your Coveo for Sitecore package
  • Your Coveo Search API
Gravatar for sohelsd@gmail.com

Comment by sohel, Jul 2, 2015 4:16 PM

Coveo: 7.0 x64 Build 7711.0 (June 2015 build) Coveo for Sitecore: Coveo for Sitecore 80 3.0 (1055) Covoe Search API: Coveo Search API 8.0.543

Gravatar for slangevin@coveo.com

Comment by Simon, Jul 2, 2015 5:29 PM

Everything looks fine, I would suggest to open a case with Coveo support so that they can look at your setup. In theory it should work, maybe something in your network?

Ask a question