You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vishwa <vi...@india.hp.com> on 2002/03/23 00:21:00 UTC

Help !! SSL Certificate on Tomcat.


Hello all,

I am trying to setup HTTPS for Tomcat 4.0. I have made the necessary
changes in server.xml, and imported certificate given by versign using
keytool import:

keytool  -import -file cert.cer  \
         -alias tomcat -trustcacerts \
         -keystore .keystore

But when I try to access the website, the browser just hangs. I could
access other HTTPS sites without any problems with the same browser.
There are no errors reported in catalina.out.

Any help in resolving this problem is appreciated.

- Vishwa


SERVER.XML :
------------------

   <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
className="org.apache.catalina.connector.http.HttpConnector"
               port="8088" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout
value
     to -1 -->

    <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
    <Connector
className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true"
               acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory
className="org.apache.catalina.net.SSLServerSocketFactory"
               clientAuth="false" protocol="TLS"

keystoreFile="/opt-apps/jakarta-tomcat-4.0.2/conf/certificates/.keystore
"
               keystorePass="ipsboise"/>
    </Connector>

Regards,
Vishwa


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>