sslsd-logo

How to move SSL certificate from Tomcat to Tomcat

Tomcat systems are very customizable. The directory location and naming of the individual files needed vary depending on your personalized system. Below are generalized instructions.

We will start by assuming that you have already successfully installed the SSL certificate on the one Tomcat web server.

To move your SSL certificate keystore from one Tomcat system to another perform the following.

Step 1: Exporting/backing up  your keystore of the first system:

  1. On the first Tomcat server search and open the Tomcat server.xml file.
  2. Open the server.xml config file using a text editor (ie. JAKARTA_HOME/conf/server.xml)
    Search for the secure element in your config file (try searching for SSL Connector).
  3. Your keystore file name and path is listed under KeystoreFile, and its Password is under keystorePass.By default it should look something like this:
    Tomcat XML
    Note:
    Remember the KeystorePass as it will be required to configure your backed up keystoreFile on the second Tomcat server.
  4. Go to the location directory of your keystoreFile and make a copy/save of this file and store it on an alternate drive or USB flash. You will move this file to the second Tomcat server.You have now made a backup copy of your SSL keystore on the first Tomcat server.

Step 2: Configuring SSL keystore on the second Tomcat server:

  1. After moving your backed up SSL keystore to the second system. On the Tomcat second server search and open the Tomcat server.xml file.
  2. Open the server.xml config file using a text editor (ie. JAKARTA_HOME/conf/server.xml)
    Search for the secure element in your config file (try searching for SSL Connector). By default it should look something like this:Tomcat
  3. you will move your backed up keystore file to the location of the keystoreFile change the attributes to reference the location, name, and password of your backed up SSL keystore.
    Note: These directories and names will differ your environment may vary.

    • keystoreFile=”c:\PATH TO mycert.jks”
    • keystorePass=”password of mycert.jks”
  4. Save the changes.
  5. Stop and Start Tomcat.

Your SSL Certificate/Keystore is now installed, and the website is now configured.

Tomcat Support

For more information refer to Tomcat

Recent Posts

S/MIME for Outlook O365 Windows

Add to Favorites S/MIME Advantages of S/MIME Certificates S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates offer several advantages when it comes to securing email communications. Here

Read More »

Abbreviations

Add to Favorites There are literally thousands of IT abbreviations out there. Many are concerned with the technical aspects of the computer, while others deal

Read More »

SSL Installation on Qmail

Add to Favorites SSL Installation on Qmail Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts.

Read More »