tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Little <tlit...@hoaglandlongo.com>
Subject Re: is there a good Tomcat + JSSE how-to?
Date Mon, 21 Aug 2000 15:40:24 GMT
Ismael Blesa Part wrote:
> 
> I have build tomcat form the source and when connecting to the secure port I
> get the following error:
> 
> 2000-08-21 04:34:26 - ContextManager: Adding context Ctx( /isum )
> 2000-08-21 04:34:26 - ContextManager: Adding context Ctx(  )
> 2000-08-21 04:34:26 - ContextManager: Adding context Ctx( /test )
> 2000-08-21 04:34:28 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
> 
> 2000-08-21 04:34:35 - PoolTcpConnector: Starting HttpConnectionHandler on 8443
> 
> 2000-08-21 04:34:35 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
> 2000-08-21 04:36:03 - Ctx(  ): 302 R(  + / + /) /index.html
> 2000-08-21 04:36:04 - ContextManager: IOException reading request, ignored -
> jav
> ax.net.ssl.SSLException: Unrecognized SSL handshake.
>         at
> com.sun.net.ssl.internal.ssl.InputRecord.read([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-120198])
>         at java.io.BufferedInputStream.fill(Unknown Source)
>         at java.io.BufferedInputStream.read(Unknown Source)
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestAdapter.java:117)
> 
>         at
> org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:106)
> 
>         at
> org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:128)
> 
>         at
> javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpRequestAdapter.java:131)
> 
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:185)
> 
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Unknown Source)
> 
> The url used is https://myhost:8443/
> I have followed all the steps to make tomcat run with SSL
> 

I've gotten the handshaking problem before.  It seems like trying to
load a directory gives that problem.  If I go to:
https://host:8443/examples/jsp
I get the error.  But if I go to:
https://host:8443/examples/jsp/index.html
it works.

Mime
View raw message