tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jennings" <m...@southgatesoftware.com>
Subject Re: Help importing SSL certificates
Date Mon, 14 Jan 2002 18:21:25 GMT
Hi Roland,

As far as I understand tomcat/ssl/openssl and java's keystore, you need to
do the following:
1. Generate a private key/self-signed certificate pair in a keystore file
(mykeys.jks for example)
and give it an alias ("tomcat" for example)
2. Export a certificate signing request (CSR) for your key (pleasesignit.csr
for example)
3. Get someone friendly (Rich CA Ltd. for example) to digitally sign your
CSR, and give you back a certificate reply (cert-reply.crt for example)
4. Import the certificate reply into your keystore file using the alias you
chose ("mykey")

Now you should have a private key with a public key that has been signed by
Rich CA Ltd.
Now just use your keystore with tomcat and be sure to include your keystore
password
in your server.conf file and you should be able to accept SSL connections
with tomcat.

The only problem is, every single client that attempts an SSL connection to
your
tomcat needs to have Rich CA Ltd. pre-defined as a certificate authority in
order
for the connection to proceed.

Companies like Thawte and Verisign are already pre-defined as certificate
authorities on
most web browsers, so if you pay them to sign your CSR you should be fine.

Hope this helps!
-Mike


----- Original Message -----
From: "Roland" <roland@netquant.com.br>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Monday, January 14, 2002 8:04 AM
Subject: Help importing SSL certificates


> Hello,
> I'm trying to use SSL with Tomcat. Everything is fine if I use a
> certificate generated with keytool. But, if I try to import a certificate
> generated with OpenSSL, it doesn't work. What happens is that I can import
> the certificate and it will not complain. But when I try to connect to
> Tomcat with the browser it will give an error like 'unknown encryption
> algorithm'.
> Can anyone help here?
> Roland
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message