Tomcat systems are very customizable. The directory location and naming of the keystore 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 keystore on the Tomcat web server.
To export and backup your SSL certificate keystore from a Tomcat system perform the following.
Step 1: Exporting/Backing up your keystore of the first system:
- On the first Tomcat server search and open the Tomcat server.xml file.
- 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). - Your keystore file name and path is listed under KeystoreFile, and its Password is under keystorePass.
By default it should look something like this:
Note: Remember the KeystorePass as it will be required to configure your backed up keystoreFile on the second Tomcat server. - 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.
Tomcat Support
For more information refer to Tomcat