Skip to main content

Posts

Showing posts from August, 2017

Install SSL Certificate on Tomcat OR Confluence Server

The below steps demonstrates how to install Existing Verified Certificates on Confluence server or Tomcat Application Server: 1- You should have your domain certificate and key, for example: company_net.crt company_net.crt 2- You should install openssl, I did it on windows platform: https://wiki.openssl.org/index.php/Binaries 3- run the below command in openssl to generate the .p12 Personal Information Exchange openssl pkcs12 -export -in company_net.crt -inkey company_net.key -out company_net.p12 4- Now move the .p12 to the server and run the keytool to generate the .jks key (Java Key Store), the keytool is normally located in the JDK or JRE directory whether in TOMCAT or JAVA Directory. 5- Run the keytool comman as below: C:\tomacat\jre\bin>keytool -importkeystore -destkeystore c:\mykeystore.jks -srckeystore c:\company_net.p12 -srcstoretype pkcs12 6- Once the .jks is generate go to the server.xml file located in tomcat or confluence config directory and un-co