[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1216
  • Last Modified:

SSL Wildcard certificate import in tomcat

Dear Sir/Madame,

I have a question regarding importing an existing SSL wildcard certificate into my tomcat keystore.

I have generated a wildcard certificate with IIS7.5 and exported it (with private key) to a .pfx file. Can I use this with my tomcat installation and if so how can I import it into my keystore.

If this cannot be accomplished I have a second question: How can I export an existing certificate from the tomcat keystore to a .pfx or .crt file WITH private key without deleting it from the keystore.

I tried “keytool –export –keystore keys.jks –alias tomcat – file c:\cert.crt” but the It doesn’t export my private key.

Regards,
Kasper
0
xiss
Asked:
xiss
1 Solution
 
ChristoferDutzCommented:
You have to use the keytool program of your java runtime to inject the certificate into your local keystore. Here's a pretty good general tutorial:
http://www.digicert.com/ssl-certificate-installation-tomcat.htm

And here's one exactly dealing with your case:
http://tp.its.yale.edu/pipermail/cas/2005-July/001337.html

0
 
xissAuthor Commented:
Nice tool! Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now