You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alan Williamson <a....@mis.strath.ac.uk> on 2001/02/08 13:57:32 UTC

Tomcat 3.2.1 + SSL direct problem

Hi there,

I'm trying to install SSL directly into tomcat as per the
tomcat-ssl-howto.html document, and I'm encountering a weird error in
tomcat.log when I start up tomcat. (The port numbers are different from
standard as we've each got out own tomcat server running for development
purposes)

2001-02-08 12:28:56 - PoolTcpConnector: Starting HttpConnectionHandler on
8802
2001-02-08 12:29:01 - PoolTcpConnector: Starting HttpConnectionHandler on
8443
2001-02-08 12:29:02 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8012
java.lang.NullPointerException
        at
com.sun.net.ssl.internal.ssl.OutputRecord.a([DashoPro-V1.2-120198])
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Compiled Code)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.b([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.close([DashoPro-V1.2-120198])

I've copied the jsse jars to the /lib directory of tomcat, I've edited the
java.security file accordingly, and I've run keytool -genkey -alias tomcat
-keyalg RSA and have a .keytool file in my home directory.  

I know that the jsse is working correctly as I've been able to run the
URLReader sample program and connect over https to verisign.com.

Am I missing something? 

Any help would be greatly appreciated,

Cheers,

Alan