?
Solved

SSL Wildcard certificate import in tomcat

Posted on 2010-09-13
2
Medium Priority
?
1,196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 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