cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Indexing + SSL Fails to Find New Content

vrothenberg
Champ in-the-making
Champ in-the-making
After configuring the connectors in server.xml to support https, searches for new content fail to return any results.  Though old content is still indexed and successfully finds documents. 

I've imported the SSL root certificate into all the truststores, however that has not resolved the problem.

If anyone has any ideas on what could be causing this I'd greatly appreciate it!
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
search fails from the code you have developed or from the node browser and OOTB search as well?

I've not developed any major code yet.  So far I've just changed the configuration settings in server.xml:


<Connector port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="443" />
   
   
<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
               maxThreads="150" scheme="https" keystoreFile="C:\Alfresco\java\bin\rapidssl.jks" keystorePass="<sslpass>" keystoreType="JKS" secure="true" truststoreFile="C:\Alfresco\alf_data\keystore\ssl.truststore" truststorePass="<defaultalfrescopass>" truststoreType="JCEKS"
               clientAuth="false" sslProtocol="TLS" />

   
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" />


the SOLR indexing port properties in alfresco-global-properties:


### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=443


and the ssl-truststore-passwords.properties files:


aliases=alfresco.ca,addtrustexternalcaroot
# The ssl truststore password
keystore.password=<defaultalfrescopass>
# The password protecting the ssl Alfresco CA strust certificate
alfresco.ca.password=<defaultalfrescopass>
#root
addtrustexternalcaroot.password=<sslpass>
 

Just tried the node browser from the Administration Console and it cannot find a file I just uploaded.  In the archive store it either returns 0 results for the various search methods, or errors like:

"Search failed due to: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 051014940 Request failed 500 /solr/archive/cmis?wt=json&fl=DBID%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON"

In the user or system stores it returns another error:

"Search failed due to: org.alfresco.error.AlfrescoRuntimeException: 051014945 No solr query support for store user://alfrescoUserStore"