Replacing Default Certificate

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



The best practice is to generate your own SSL certificates for SOLR as documented here. It is strongly recommended that you do this.

However, if you cannot or don't want to generate your own keys for some reason, and you need to replace the expiring certificate in 4.0.d, you can replace it with a new default certificate from Alfresco source. Here are the steps:

1. Backup the current keystore directory in alf_data

2. Remove the keystore directory from alf_data

3. Copy the keystore directory from Alfresco SVN
$ALFRESCO_SOURCE_HOME/projects/repository/config/alfresco/keystore to alf_data

4. Remove the keystore directory from
$TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco

5. Copy the keystore directory from Alfresco SVN
$ALFRESCO_SOURCE_HOME/projects/repository/config/alfresco/keystore
to
$TOMCAT_HOME/webapps/alfresco/WEB-INF/classes/alfresco

6. Copy...

$ALFRESCO_SOURCE_HOME/projects/solr/source/solr/instance/archive-SpacesStore/conf/ssl.repo.client.keystore
to
alf_data/solr/archive-SpacesStore/conf/ssl.repo.client.keystore

$ALFRESCO_SOURCE_HOME/projects/solr/source/solr/instance/archive-SpacesStore/conf/ssl.repo.client.truststore
to
alf_data/solr/archive-SpacesStore/conf/ssl.repo.client.truststore

$ALFRESCO_SOURCE_HOME/projects/solr/source/solr/instance/workspace-SpacesStore/conf/ssl.repo.client.keystore
to
alf_data/solr/workspace-SpacesStore/conf/ssl.repo.client.keystore

$ALFRESCO_SOURCE_HOME/projects/solr/source/solr/instance/workspace-SpacesStore/conf/ssl.repo.client.truststore
to
alf_data/solr/workspace-SpacesStore/conf/ssl.repo.client.truststore
Solr

Attachments

    Outcomes