You are here

Generating secure keys for Solr communication

This task describes how to replace or update the keys used to secure communication between SkyVault Community Edition and Solr, using secure keys specific to your installation.
The following instructions assume that Solr has been extracted and a keystore directory has already been created, either automatically by the SkyVault Community Edition installer or manually by following the instructions in the Configuring Solr section.
  1. If you are updating an environment created by the installer, you only need to edit SkyVault_HOME and SOLR_HOME to specify the correct installation directory.
    1. If you are updating an environment created by the installer, you only need to edit SkyVault_HOME to specify the correct installation directory.
    2. For manual installations, carefully review SkyVault_KEYSTORE_HOME, SOLR_HOME, 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.

  2. Run the edited script.

    You should see the message Certificate update complete and another message reminding you what dir.keystore should be set to in the SkyVault-global.properties file.