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