You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sunmeet <sg...@usc.edu> on 2002/06/11 01:38:06 UTC

ssl configuration on tomacat 4.0

hi,
i am tryingto configure Tomcat as a secure web server using SSL on windows 2000
i have installed the tomcat 4.0
and j2sdk1.4.0
my tomact is working alright that is the unsecure tomcat
so far to make secure web server i have done this

1. i have created the certificate by
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA

2. I have made changes in the server.xml

<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="80" 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" keystorePass="changeit"
        acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
               clientAuth="false" protocol="TLS"/>
    </Connector>


3. now when i do https://localhost:8443/
it gives me oage not found but
http://localhost works

can give me some what should i do