Using HTTPS to access Elasticsearch for end to end encryption - Using HTTPS to access Elasticsearch for end to end encryption - Alfresco - Alfresco Search Enterprise - Alfresco/Alfresco-Search-Enterprise/3.2/Alfresco-Search-Enterprise/Alfresco-Search-Enterprise/Configure/Using-HTTPS-to-access-Elasticsearch-for-end-to-end-encryption - 3.2

Alfresco Search Enterprise

Platform
Alfresco
Product
Alfresco Search Enterprise
Release
3.2
ft:lastPublication
2026-05-06T19:34:57.842000
ft:locale
en-US
ArchiveStatus
Archived

When using the Elasticsearch server with the HTTPs protocol, additional configuration should be added to the Alfresco Repository.

A truststore file, including public certificate and certificate chain from Elasticsearch HTTPs endpoint, must be added to the alfresco-global.properties configuration file.

Add the following properties to use the truststore file from the Alfresco Repository. The encryption.ssl.truststore.passwordFileLocation= property has been intentionally left blank as the keystore includes only public information.

encryption.ssl.truststore.location=/usr/local/tomcat/alf_data/keystore/truststore.jceks
encryption.ssl.truststore.passwordFileLocation=
encryption.ssl.truststore.type=JCEKS

If you are using Docker compose, add the same properties in the JAVA_OPTS section for the Alfresco service using the "-D" prefix.

Additionally, for every "live-indexing" service from the Elasticsearch connector the same truststore must be configured. Use Java and the following global properties:

JAVAX_NET_SSL_TRUSTSTORE=/usr/local/tomcat/alf_data/keystore/truststore.jceks
JAVAX_NET_SSL_TRUSTSTOREPASSWORD=
JAVAX_NET_SSL_TRUSTSTORETYPE=JCEKS

These environment variables can be passed as command line arguments when running the spring boot application locally or they can be added to the environment service section when using Docker compose.