AnsweredAssumed Answered

alfresco and solr without SSL

Question asked by sws on Mar 17, 2015
Latest reply on Mar 24, 2015 by openpj

I configured an alfresco instance on a virtual server with an existing tomcat7 running behind an apache2 via ajp-connector. SSL is dealt with by apache2.

I configured Solr4 and alfresco to connect to each other without SSL as described in

But alfresco stil demands a keystore file. See log:

ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreWatcher threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 02170125 Failed to initialize keystore:
   Location: ssl.repo.client.keystore
   Type:     JCEKS
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.safeInit(
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.<init>(
   at org.alfresco.httpclient.HttpClientFactory.init(
   at org.alfresco.httpclient.HttpClientFactory.<init>(
   at org.alfresco.solr.client.SOLRAPIClientFactory.getRepoClient(
   at org.alfresco.solr.client.SOLRAPIClientFactory.getSOLRAPIClient(
   at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(
   at org.alfresco.solr.tracker.CoreWatcherJob.execute(
   at org.quartz.simpl.SimpleThreadPool$
Caused by: org.alfresco.error.AlfrescoRuntimeException: 02170124 Unable to load key store: ssl.repo.client.keystore
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(
   … 10 more
Caused by: Keystore was tampered with, or password was incorrect
   at com.sun.crypto.provider.JceKeyStore.engineLoad(
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.loadKeyStore(
   … 11 more

In server.xml of tomcat7 the connector with port 8443 is commented out so there are only connectors for 8080 and ajp connector. So solr4 and alfresco should only connect through port 8080.
All keystores were emptied by keytool commands. Alfresco should not ask for any keystore. Nor should solr4.

How can I get solr4 and alfresco really run without SSL?