Rebind ‘Update’ Tomcat Keystore with a new Certificate

Certificate are bound to expire, For Tomcat, this can be configured in this path

C:Program FilesApache Software FoundationTomcat 7.0conf

Step 1: Copy the latest keystore to this path
Note: The certificate will have to be in this format .jks extension

Step 2: Now navigate to the server.xml file in this location below and edit with notepad ++ or any text Editor of your choice.

C:Program FilesApache Software FoundationTomcat 7.0conf

Now point the connector marked for port 443 to point to this keystore
Note: Ensure you change the name to reflect how is it in conf file.

After configuration, it should look like this below (Do not copy the full path below)

"keystoreFile="C:Program FilesApache Software FoundationTomcat 7.0confkeystore2016.jks"

https://wls4mscratch.wordpress.com/2010/06/19/generate-a-jks-keystore-using-key-and-crt-files/
https://blogs.oracle.com/blogbypuneeth/steps-to-create-a-jks-keystore-using-key-and-crt-files

Converting .pfx Files to .jks Files
See link below on how to convert from .pfx form to .jks

https://www.digicert.com/ssl-support/jks-import-export-java.htm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s