I sent a very detailed response to the list
regarding your problem DIRECTLY. I guess you
didn't see it.

At 01:36 PM 5/15/2001 +0200, you wrote:
>Is it a stupid question? why no one answer me, my deadline is tomorrow :<
>
>----- Original Message -----
>From: "Kevin Pang" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 15, 2001 11:38 AM
>Subject: Tomcat and SSL
>
>
>Hi All,
>I need to setup Tomcat standlone with SSL support, I do it according to
>Tomcat's user-guide in the following step using tomcat account:
>I modified the java.security before did these
>
> >keytool -genkey -alias tomcat -keyalg RSA
> >openssl req -new -out REQ.pem -keyout KEY.pem
> >openssl req -x509 -in REQ.pem -key KEY.pem -out CERT.pem
>then verify
> >openssl req -verify -in REQ.pem
> >openssl req -verify -in REQ.pem -key KEY.pem
> >openssl req -text -in REQ.pem
>everything looks well, but
>when I do:
> >keytool -import -v -trustcacerts -alias tomcat -file CERT.pem
>get the error messages,
>Enter keystore password:  changeit
>keytool error: java.lang.Exception: Public keys in reply and keystore don't
>match
>
>So tried to delete all files in /home/tomcat: .keystore and *.pem
>So I want to repeat the above steps
> >  keytool -genkey -alias tomcat -keyalg RSA get the error messages
>Enter keystore password:  changeit
>keytool error: java.lang.Exception: Key pair not generated, alias <tomcat>
>already exists
>
>I never use SSL before and very confused now, are there some documentation
>to do this step by step? any help are highly appreciated!
>
>Kevin

Reply via email to