You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin Pang <la...@hotmail.com> on 2001/05/16 15:00:03 UTC
Tomcat standalone with SSL
Hi,
I set up the Tomcat standalone with SSL support according to the user-guild
with many people's help on this list, only difference is I didn't do:
keytool -genkey -alias tomcat -keyalg RSA
Now I can see a new message: "PoolTcpConnector: Starting
HttpconnectionHandler on 8443" when startup. But can't find other
information about using SSL on Tomcat, how to know if SSL is OK? what should
I do then? what's the difference with before? Help, please.
Kevin
Re: Tomcat standalone with SSL
Posted by Kevin Pang <la...@hotmail.com>.
You are so smart, :-) I have never been stuck like this in the past 6 years
programming. I feel angry with SSL now, what I only can do is asking here
again and again.:-<
----- Original Message -----
From: "Tim O'Neil" <ti...@xythos.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, May 16, 2001 5:18 PM
Subject: Re: Tomcat standalone with SSL
> At 03:00 PM 5/16/2001 +0200, you wrote:
> >Hi,
> >I set up the Tomcat standalone with SSL support according to the
user-guild
> >with many people's help on this list, only difference is I didn't do:
> >keytool -genkey -alias tomcat -keyalg RSA
> >
> >Now I can see a new message: "PoolTcpConnector: Starting
> >HttpconnectionHandler on 8443" when startup. But can't find other
> >information about using SSL on Tomcat, how to know if SSL is OK? what
should
> >I do then? what's the difference with before? Help, please.
> >Kevin
>
> Don't know. I never got that message. All I can tell you
> is I have tomcat running as a standalone server with
> a self-signed cert here. I went to Apache + tomcat with a
> CA cert later.
>
>
Re: Re[2]: Tomcat standalone with SSL
Posted by Kevin Pang <la...@hotmail.com>.
I tried your solution, the same with before, my steps : (RH7,
openssl0.9.5.a,Tomcat3.2.1,JDK1.3)
1. keytool -genkey -alias tomcat -keyalg RSA
2. openssl req -new -out REQ.pem -keyout KEY.pem
3. openssl req -x509 -in REQ.pem -key KEY.pem -out CERT.pem
4. openssl pkcs8 -topk8 -nocrypt -in KEY.pem -out KEY.der -outform der
5. openssl x509 -in CERT.pem -out CERT.der -outform der
6. java ImportKey KEY.der CERT.der
7. Modified server.xml and java.security, copy JSSE 3 Jars to
tomcat_home/lib,
no any error message display, when startup, a new message in console:
> PoolTcpConnector: Starting HttpconnectionHandler on 8443
Anything wrong? thank you very much.
Rgds,
Kevin
----- Original Message -----
From: "Wolfgang Mutter" <mu...@comu.de>
To: "Tim O'Neil" <to...@jakarta.apache.org>
Sent: Wednesday, May 16, 2001 7:40 PM
Subject: Re[2]: Tomcat standalone with SSL
> Hi,
>
> with an self-signed cert there is no problem ! The problem is the CA
> so give an try to our free program. The program converts the CA files
> into an DER format and then stores it into the keystore. Then the
> tomcat standalone works fine. We use this solution for three server
> without any problems !
> http://www.comu.de/docs/tomcat_ssl.htm
>
> Wednesday, May 16, 2001, 5:18:39 PM, you wrote:
>
> >>I set up the Tomcat standalone with SSL support according to the
user-guild
> >>with many people's help on this list, only difference is I didn't do:
> >>keytool -genkey -alias tomcat -keyalg RSA
> >>
> >>Now I can see a new message: "PoolTcpConnector: Starting
> >>HttpconnectionHandler on 8443" when startup. But can't find other
> >>information about using SSL on Tomcat, how to know if SSL is OK? what
should
> >>I do then? what's the difference with before? Help, please.
> >>Kevin
>
> > Don't know. I never got that message. All I can tell you
> > is I have tomcat running as a standalone server with
> > a self-signed cert here. I went to Apache + tomcat with a
> > CA cert later.
>
> Yours
> Wolfgang Mutter
>
>
>
Re[2]: Tomcat standalone with SSL
Posted by Wolfgang Mutter <mu...@comu.de>.
Hi,
with an self-signed cert there is no problem ! The problem is the CA
so give an try to our free program. The program converts the CA files
into an DER format and then stores it into the keystore. Then the
tomcat standalone works fine. We use this solution for three server
without any problems !
http://www.comu.de/docs/tomcat_ssl.htm
Wednesday, May 16, 2001, 5:18:39 PM, you wrote:
>>I set up the Tomcat standalone with SSL support according to the user-guild
>>with many people's help on this list, only difference is I didn't do:
>>keytool -genkey -alias tomcat -keyalg RSA
>>
>>Now I can see a new message: "PoolTcpConnector: Starting
>>HttpconnectionHandler on 8443" when startup. But can't find other
>>information about using SSL on Tomcat, how to know if SSL is OK? what should
>>I do then? what's the difference with before? Help, please.
>>Kevin
> Don't know. I never got that message. All I can tell you
> is I have tomcat running as a standalone server with
> a self-signed cert here. I went to Apache + tomcat with a
> CA cert later.
Yours
Wolfgang Mutter
Re: Tomcat standalone with SSL
Posted by Tim O'Neil <ti...@xythos.com>.
At 03:00 PM 5/16/2001 +0200, you wrote:
>Hi,
>I set up the Tomcat standalone with SSL support according to the user-guild
>with many people's help on this list, only difference is I didn't do:
>keytool -genkey -alias tomcat -keyalg RSA
>
>Now I can see a new message: "PoolTcpConnector: Starting
>HttpconnectionHandler on 8443" when startup. But can't find other
>information about using SSL on Tomcat, how to know if SSL is OK? what should
>I do then? what's the difference with before? Help, please.
>Kevin
Don't know. I never got that message. All I can tell you
is I have tomcat running as a standalone server with
a self-signed cert here. I went to Apache + tomcat with a
CA cert later.