If you are applying these instructions to a clustered installation, the steps should be carried out on a single host, and then the generated .keystore and .truststore files must be replicated across all other hosts in the cluster.
Download the relevant script from the Customer Support website, or from the following
location in the extracted distribution zip content:
<installLocation>/alf_data/keystore/generate_keystores.sh (for Linux and Solaris)
<installLocation>/alf_data/keystore/generate_keystores.bat (for Windows)
Check the following directories for your environment.
- If you are updating an environment created by the installer, you only need to edit ALFRESCO_HOME and SOLR_HOME to specify the correct installation directory.
For manual installations, carefully review
JAVA_HOME, REPO_CERT_DNAME and
SOLR_CLIENT_CERT_DNAME and edit as appropriate.
By default, for Solr SOLR_HOME refers to <ALFRESCO_HOME>/solr4.
Run the edited script to generate your certificates.
You should see the message Certificate update complete and another message reminding you what dir.keystore should be set to in the alfresco-global.properties file.