Solved

SSL Wildcard certificate import in tomcat

Posted on 2010-09-13
2
1,182 Views
Last Modified: 2012-05-10
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
Comment
Question by:xiss
2 Comments
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 total points
ID: 33661622
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
 
LVL 1

Author Closing Comment

by:xiss
ID: 33699016
Nice tool! Thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now