You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Warner Onstine <on...@intalio.com> on 2000/06/22 02:06:04 UTC

SSL Client Authenticating with Tomcat's SSL

Hi all,
I have been working on an SSL client that will send a certificate to Tomcat
and have it establish a trusted connection here is the error from the Tomcat
side.  I know a lot of it won't make sense, but I wanted to find out what
the last part was in reference to:

java.lang.NullPointerException
        at com.sun.net.ssl.internal.ssl.m.<init>([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.ServerHandshaker.b([DashoPro-V1.2-120198
])
        at
com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage([DashoPr
o-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.Handshaker.process_record([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.a([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.AppInputStream.read([DashoPro-V1.2-12019
8])
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA
dapter.java:117)
        at
org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ
letInputStream.java:106)
        at
org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle
tInputStream.java:128)
        at
javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138
)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt
pRequestAdapter.java:131)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:184)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
384)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:484)
        at java.lang.Thread.run(Unknown Source)
CM: Error reading request null
-------------------------------

What is the CM: Error reading request null in reference to?  When does that
get fired off?

Hopefully once I track this down I will be able to send a patch to Costin's
code to make the SSL a little more configureable on the server.xml side.

-warner