Broken solr searching after configuring TLS

cancel
Showing results for 
Search instead for 
Did you mean: 
upforsin
Senior Member

Broken solr searching after configuring TLS

Jump to solution

Hello,

I decided to configure Solr & Alfresco to use mutal TLS. First of all, I genereted new certificates using Alfresco SSL Generator and updated all required files. Now, using generated browser.p12 I can get https:/xxx:8983/solr/#/ and https://xxx:8443/share/page/ pages.

The problem is, that when I try to search anything using Share's search form, I get no results.

There is nothing in logs.

Does anyone has any idea what could go wrong?

 

EDIT. I suppose it is something with the connection settings between Alfresco and Solr.

In Alfresco tutorial it is said that I should modify line in solr.in.sh: (but i didn't modify it, left it to 8080)

SOLR_ALFRESCO_PORT=8983

Which is strange - Solr is running on 8983, alfresco is running on 8080 and 8443.

Also, I have two same variables in  alfresco-global-properties:

solr.port.ssl=8983
solr.port=8983

Could it be a mistake?

 

EDIT2. After changing that variable is started to work! But why?

It is clearly said that SOLR_ALFRESCO_PORT Specifies the externally resolvable port number of the Alfresco web application

howkymike
Alfresco Developer
1 Solution

Accepted Solutions
jpotts
Professional

Re: Broken solr searching after configuring TLS

Jump to solution
2 Replies
angelborroy
Alfresco Employee

Re: Broken solr searching after configuring TLS

Jump to solution

Latest documentation available is at https://docs.alfresco.com/search-community/tasks/solr-install.html

Probably this can help to understand how that works.

Hyland Developer Evangelist
jpotts
Professional

Re: Broken solr searching after configuring TLS

Jump to solution

@upforsin I also answered your nearly-identical post over here: https://hub.alfresco.com/t5/alfresco-content-services-forum/solr-doesn-t-work-after-configuring-tsl/...

Please don't post the same question twice.