File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes How to install SSL with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "How to install SSL with Tomcat" Watch "How to install SSL with Tomcat" New topic

How to install SSL with Tomcat

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
I have installed Tomcat and I want to add security on my registeration page using SSL. Could anyone help me by showing me how to install it. Do I have to purchase anything from VeriSign or others. Please help?

Joined: Sep 09, 2002
Posts: 1
Hi, read the document ssl-howto.html given by Tomcat to cofigure https.

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
When I try following the steps in ssl-howto.html, I get the following error:
keytool error: java.lang.Exception: Key pair not generated, alias (tomcat) already exists.

What does keytool -genkey -alias tomcat -keyalg RSA actually do? What is the alias for?

I'm pretty much new to SSL, any help is welcome. Thanks

No matter what they say in Ohio, we're still first in flight!
I agree. Here's the link:
subject: How to install SSL with Tomcat
It's not a secret anymore!