Tom,

I think you make one mistake you have to load https://localhost:8443, with
"https" as your conection protocol not "http". That will do I think, I had
the same problem.If you load the url over http you only see 4 squares.

Jurjan

> Subject: failed to enable SSL on Tomcat 4.04
> From: "tom" <[EMAIL PROTECTED]>
> ===
> I tried to enable SSL for 2 days but did not ever success.
>
> Environment:
> Windows 2000 Server
> JDK1.4.0.01
> Tomcat 4.04
> 1 signed digital certificate
>
> Steps
> 1. run "keytool -import -alias wisdom -file wisdom.crt -keystore
> c:\mydoc\.keystore" to generate the .keystore file
> 2. modify server.xml as below
>
>    <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="c:\mydoc\.keystore"
>     keystorePass="changeit"/>
>    </Connector>
>
> 3. run "startup"
> 4. load http://localhost:8443
>
> The browser displays 4 strange squares, and no error message ever
> appears in the console
>
> Alternatively, I tried to following the doc
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html exactly.
> but still failed to enable SSL.
>
> 1. run "keytool -genkey -alias tomcat -keyalg RSA -keystore
> c:\mydoc2\.keystore"
> 2. modify the server.xml as below
>
>    <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="c:\mydoc2\.keystore"
>     keystorePass="changeit"/>
>    </Connector>
>
> 3. run "startup"
> 4. load http://localhost:8443
>
> The browser displays 3 strange symbols, and no error message ever
> appears in the console
>
> Help please.
>
> Tom
> mailto:[EMAIL PROTECTED]
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]> For additional
> commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to