How to transfer a Wildcard to Tomcat

So I have a wildcard certificate which I talk about earlier on how to transfer it to different servers (we have several different IIS / Web Servers in the environment). But we also have 1 Apache Tomcat Server which had a certificate applied to it which was getting ready to expire.

I wanted to change that certificate to the wildcard that was being used by all the other sites. I did a quick google search and found a bunch of different examples of how to do this.. but they all seem very complicated with mulitple steps and cuts and hacks .. blahhhh.

Finally I pieced together the below steps and it worked, so here it is

1. Export PFX file as you would for any other transfer (see earlier blog Post)
2. Copy the PFX file to your C:Program Files (x86)Javajre1.6.0_03bin Library (or the same play you had the tomcat.Keystore) from your previous certificate
3. Change the Tomcat.Keystore Text in Tomcat55confServer.xml file to your domain.pfx file name
4. Change the Password in keystonePassword that you created in your export
5. Add keystone type following your keystonePassword entry on the same line as follows: keystoreType=”PKCS12″ and Save
6. Restart the Apache Tomcat Service
7. Test

That is it, really simple.

Tagged , , . Bookmark the permalink.

Comments are closed.