Solved

SSL Wildcard certificate import in tomcat

Posted on 2010-09-13
2
1,187 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

856 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