Search-229, enforce certifacte check to prevent browsers from viewing solr.

This commit is contained in:
Michael Suzuki
2016-11-03 15:48:51 +00:00
parent b332d882d9
commit a14a227515
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
alfresco.solr.ssl=<Set name="KeyStoreType"><Property name="solr.jetty.keystore.type" default="JCEKS"/></Set>\
${line.separator} <Set name="TrustStoreType"><Property name="solr.jetty.truststore.type" default="JCEKS"/></Set>
${line.separator} <Set name="TrustStoreType"><Property name="solr.jetty.truststore.type" default="JCEKS"/></Set>\
${line.separator} <Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needclientauth" default="true"/></Set>
alfresco.solr.config=# Alfresco configuration. This file is automatically included by solr. You can define your custom settings here\
${line.separator}SOLR_OPTS="$SOLR_OPTS -Dsolr.jetty.request.header.size=1000000 -Dsolr.jetty.threads.stop.timeout=300000"
alfresco.solr.config.win=REM Alfresco configuration. This file is automatically included by solr. You can define your custom settings here\
@@ -33,11 +33,11 @@ services:
#Create the default alfresco and archive cores
#SOLR_CREATE_ALFRESCO_DEFAULTS : alfresco,archive
#SSL setup
#SOLR_SSL_KEY_STORE: /opt/alfresco/alf_data/keystore/ssl.repo.client.keystore
#SOLR_SSL_KEY_STORE_PASSWORD: kT9X6oe68t
#SOLR_SSL_TRUST_STORE: /opt/alfresco/alf_data/keystore/ssl.repo.client.truststore
#SOLR_SSL_TRUST_STORE_PASSWORD: kT9X6oe68t
#SOLR_OPTS: "$SOLR_OPTS -Djavax.net.debug=SSL,keymanager,trustmanager"
SOLR_SSL_KEY_STORE: /opt/alfresco/alf_data/keystore/ssl.repo.client.keystore
SOLR_SSL_KEY_STORE_PASSWORD: kT9X6oe68t
SOLR_SSL_TRUST_STORE: /opt/alfresco/alf_data/keystore/ssl.repo.client.truststore
SOLR_SSL_TRUST_STORE_PASSWORD: kT9X6oe68t
ports:
- "8984:8084" #Browser port