tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois Andromaque <>
Subject Re: Re:certificate for tomcat and ssl
Date Thu, 31 May 2001 14:50:40 GMT
After have done it, need the client to do something? How can the server
identify the client?
Because the error the browser return is : Connexion refused!
----- Original Message -----
From: "Twylite" <>
To: <>
Sent: Thursday, May 31, 2001 4:47 PM
Subject: Re:certificate for tomcat and ssl

> Hi
> >Has someone configured tomcat to work with SSL without use APACHE server?
I've try lot of things and
> nothing has worked, i'm seeking for all the steps to generated certificate
and configure tomcat to work with it.
> Can someone help me?
> I am running Tomcat 3.2.1 (as its own webserver) under Windows 2000 with
Sun's JDK 1.3.  I have SSL
> working successfully.  For the most part following the tomcat-ssl HOWTO is
the right way to go.  This is what I
> did (if I remember correctly):
> Download the JSSE jar file from sun (
Place the .jar file in your
> $JAVA_HOME/jre/lib/ext directory, as well as in $TOMCAT_HOME/lib .  You
shouldn't need both, but I have
> class-not-found problems otherwise.
> Tomcat 3.2.1 is compiled with SSL support, as long as it finds that
jsse.jar file, so that's all okay.
> Find the file $JAVA_HOME/jre/lib/security/  There is
probably already a line starting with
> "security.provide.2" - comment it out with a #, and add the line:
> Now create yourself an SSL certificate, using the Java "keytool" utility.
You should run:
> keytool -genkey -alias tomcat
> Answer all the questions, and use the same password for the keystore and
the key you generate!
> Now you need to edit your $TOMCAT_HOME/conf/server.xml file, and add in
the SSL configuration:
> (if you have an HTML browser, the next bit, which is XML, will be missing.
Have a nice day.)
>         <Connector className="org.apache.tomcat.service.PoolTcpConnector">
>             <Parameter name="handler"
>             <Parameter name="port"
>                 value="8443"/>
>             <Parameter name="socketFactory"
>                 value="" />
> <Parameter name="keypass" value="mypass"/>
>         </Connector>
> Now restart your tomcat server, and watch as it hopefully finds everything
and starts listening for SSL
> connections on port 8443.
> Twylite

View raw message