Home

Dummy Guide for :- Solr Applying new SSL certificates

You are here

3 posts / 0 new
Last post
Dummy Guide for :- Solr Applying new SSL certificates

Hi
I just finished applying the new solr SSL certification.
I refered the link "http://wiki.alfresco.com/wiki/Alfresco_And_SOLR#Generating_new_SSL_certificates"
I had lots of confusion when I started, mainly becasue of lack of exposure, I was wondering if some thing happens wrong, my instance will not work,later I thought I will go ahead, This is what I have done

made a copy of the existing Alfresco installation directory, I did this because if anything goes wrong, I can restore to the default
Then downloaded "alfresco-community-solr-4.0.e.zip" [url]https://process.alfresco.com/ccdl/?file=release/community/build-00007/alfresco-community-solr-4.0.e.zip [/url]
Unziped "alfresco-community-solr-4.0.e.zip" [I was worried where to unzip, you can create a new directory any where and unzip it]
now in the unzip solr directory, you go to "solrDire/alf_data/keystore/ "
You will see "generate_keystores.sh" , make a copy of it named"generate_keystores.sh-org" [This is in case if U want to get the orginal file]
Edit "generate_keystores.sh" ,
change
[b]ALFRESCO_HOME=/opt/alfresco-4.0.2[/b]
to
ALFRESCO_HOME=/opt/UrAlfrescoInstalDir
 
Now do chmod +x generate_keystores.sh
 
then run it using
./generate_keystores.sh

U will get the following simmilar results
Using CATALINA_BASE:   /opt/UrDMInstallDir/tomcat
Using CATALINA_HOME: /opt/UrDMInstallDir/tomcat
Using CATALINA_TMPDIR: /opt/UrDMInstallDir/tomcat/temp
Using JRE_HOME: /opt/UrDMInstallDir/java
Using CLASSPATH: /opt/UrDMInstallDir/tomcat/bin/bootstrap.jar
PID file (/opt/UrDMInstallDir/tomcat/temp/catalina.pid) found but no matching process was found. Stop aborted.
/opt/UrDMInstallDir/tomcat/scripts/ctl.sh : tomcat could not be stopped
Certificate stored in file </home/alfresco/ssl.repo.crt>
Certificate stored in file </home/alfresco/ssl.repo.client.crt>
Certificate was added to keystore
Certificate was added to keystore
Certificate was added to keystore
Certificate update complete
Please ensure that you set dir.keystore=/opt/UrDMInstallDir/alf_data/keystore in alfresco-global.properties

Done, now u have updates solr SSL certificates

Thanks
Joseph John

Re: Dummy Guide for :- Solr Applying new SSL certificates

Thanks for sharing that. If the wiki page can be made clearer, please edit it to make the improvement.

Jeff

Chief Community Officer
Alfresco Software
Blog: ecmarchitect.com | Twitter: jeffpotts01
CMIS APIs: Apache Chemistry | CMIS and Apache Chemistry in Action
Alfresco tutorials: Alfresco Developer Series

Re: Dummy Guide for :- Solr Applying new SSL certificates

keping a copy of my installation and updating the following way helped me in my alfresco 4.0.d installation

If you have used community installer in installation then download alfresco-community-solr-4.0.e, unzip---> ..alf_data\keystore and update generate _keystores batch file alfresco_home with your alfresco directory and run this batch file.

certificate updation completes :)