[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

SSL Wildcard certificate import in tomcat

Posted on 2010-09-13
2
Medium Priority
?
1,205 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

656 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