cancel
Showing results for 
Search instead for 
Did you mean: 

Broken solr searching after configuring TLS

upforsin
Star Collaborator
Star Collaborator

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 ACCEPTED ANSWER

jpotts
World-Class Innovator
World-Class Innovator
2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

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
World-Class Innovator
World-Class Innovator

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