Well, I finally figured out what I was doing wrong that
was preventing my SSL client from accepting Tomcat's certificate.
The tomcat SSL Documentation states that tomcat looks in the
user home directory for whoever is running tomcat for it's
certificates. I thought that meant the .keystore file
information
for SSL which could be useful.
Hope this helps,
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:Monte.Gardner;asu.edu]
Sent: 22 October 2002 20:48
To: Tomcat Users List
Subject: Re: SSL Servlet Client
OK, I think I've got to where I understand the problem more clearly
] [mailto:Monte.Gardner;asu.edu]
Sent: 22 October 2002 20:48
To: Tomcat Users List
Subject: Re: SSL Servlet Client
OK, I think I've got to where I understand the problem more clearly
then i did yesterday. Here it is. When I followed the tomcat ssl how to
and typed
keytool -genkey -alias tomcat -keyalg RSA
Does your tomcat user have access to the /root directory?
-Original Message-
From: [EMAIL PROTECTED] [mailto:Monte.Gardner;asu.edu]
Sent: 23 October 2002 16:58
To: Tomcat Users List
Subject: RE: SSL Servlet Client
I wrote the sample code that you gave me below.
I also changed the file
(instead of /root/.keystore)
is just a typo in the mail)
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:Monte.Gardner;asu.edu]
Gesendet: Mittwoch, 23. Oktober 2002 17:58
An: Tomcat Users List
Betreff: RE: SSL Servlet Client
I wrote the sample code that you gave me
/.keystore)
is just a typo in the mail)
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:Monte.Gardner;asu.edu]
Gesendet: Mittwoch, 23. Oktober 2002 17:58
An: Tomcat Users List
Betreff: RE: SSL Servlet Client
I wrote the sample code that you gave me below.
I also
OK, I think I've got to where I understand the problem more clearly
then i did yesterday. Here it is. When I followed the tomcat ssl how to
and typed
keytool -genkey -alias tomcat -keyalg RSA
it created a keystore file called /root/.keystore in which a key aliased
by 'tomcat' was stored. This
Have you generated all your certificates for an ssl connection? If not
that will be the problem. If you have, make sure that Tomcat can find
the certificates in question. The Tomcat docs have a good piece on
hooking up SSL I followed it without a hitch.
Dave Patton
On Mon, 2002-10-21 at
On Mon, 21 Oct 2002, Dave Patton wrote:
Ok that sounds good then. My understanding is that it uses the keystore
set in the server.xml file.
Where in server.xml is that set? I couldn't find any mention of a keystore.
Are you send ing the request to the right
port?
Yes, the URL is set in
Ok that sounds good then. My understanding is that it uses the keystore
set in the server.xml file. Are you send ing the request to the right
port? I didnt see anything in your code below specifying which port to
hit. I also found this reference online and may be something to try.
Export the
Heres the relevant part from my server.xml file which sets up SSL
connections:
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=443 minProcessors=5 maxProcessors=75
enableLookups=false
acceptCount=10 debug=0 scheme=https
Yes, I have that section.
I apologize, I thought you meant there was some section in server.xml
which specified which Certificate to use, or where to look for them
or something like that.
--Monte Glenn Gardner
On Mon, 21 Oct 2002, Dave Patton wrote:
Heres the relevant part from my server.xml
I have a Java Servlet running on Tomcat 4.1.12.
At some point, this Servlet needs to send data to another Servlet which is
right now on the same web-server, but in the future, it will be on a different
web-server, also running Tomcat. I have installed the JSSE jar files in the
13 matches
Mail list logo