You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Pierce <Jo...@seagram.com> on 2001/10/12 17:54:11 UTC
Tomcat4 SSL No Log Errors, empty page - Please Help
I installed Tomcat 4, and ssl support, but the browser returns an empy page when
I hit a secure url. The Tomcat log files do not show any errors. I'm running
Win2K Pro.
I'm trying to hit the default url: https://localhost:8443/ to get the Tomcat
home page.
Using the debug option on my connector, my catalina log file contains the
following lines:
2001-10-12 11:49:42 HttpProcessor[8443][4] An incoming request is being
assigned
2001-10-12 11:49:42 HttpProcessor[8443][4] The incoming request has been
awaited
2001-10-12 11:49:42 HttpProcessor[8443][3] An incoming request is being
assigned
2001-10-12 11:49:42 HttpProcessor[8443][3] The incoming request has been
awaited
2001-10-12 11:49:42 HttpProcessor[8443][2] An incoming request is being
assigned
2001-10-12 11:49:42 HttpProcessor[8443][2] The incoming request has been
awaited
2001-10-12 11:49:42 HttpProcessor[8443][1] An incoming request is being
assigned
2001-10-12 11:49:42 HttpProcessor[8443][1] The incoming request has been
awaited
My localhost log file contains the following lines which look like the
certificates were successfully installed:
2001-10-12 11:46:55 ContextConfig[/manager]: Added certificates -> request
attribute Valve
2001-10-12 11:46:55 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2001-10-12 11:46:57 ContextConfig[]: Added certificates -> request attribute
Valve
2001-10-12 11:47:00 ContextConfig[/tomcat-docs]: Added certificates -> request
attribute Valve
2001-10-12 11:47:01 ContextConfig[/webdav]: Added certificates -> request
attribute Valve
What else am I missing?
Here are the steps that I followed:
I followed the docs according to:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html
1. I downloaded and installed jsse1.0.2 lib files: jcert.jar, jnet.jar, and
jsse.jar in both:
tomcat_home/common/lib
and java_home/jre/lib/ext
2. I added security.provider.2=com.sun.net.ssl.internal.ssl.Provider to
JAVA_HOME/jre/lib/security/java.security
3. I installed a verisign certificate into a keystore file using the keytool. I
added the .keystore file to my Tomcat directory and referenced it in my
server.xml file.
4. I uncommented the ssl connector in server.xml and added the keystore file
entry.
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="1" scheme="https" secure="true"
>
<Factory className="org.apache.catalina.net.SSLServerSocketFactory"
clientAuth="false" protocol="TLS"
keystoreFile=".keystore"
/>
</Connector>