tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mandar Joshi" <mand...@commerceroute.com>
Subject Re: Anybody doing SSL with Tomcat successfully (SSL Direct)?
Date Wed, 28 Feb 2001 03:16:54 GMT

Thankyou Todd,
I tried your suggestion

I am getting following exception on the consol now

2001-02-27 07:13:06 - ContextManager: IOException reading request, ignored -
javax.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(BufferedInputStream.java:186)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestAdapter.
java:115)
        at
org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInpu
tStream.java:106)
        at
org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputS
tream.java:128)
        at
javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpReques
tAdapter.java:129)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:195)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

There seems to be something wrong while hand-shake.

Mandar

----- Original Message -----
From: "Todd Carmichael" <toddc@concur.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, February 27, 2001 7:03 PM
Subject: RE: Anybody doing SSL with Tomcat successfully (SSL Direct)?


> I had similar problems.  I added the following parameter to my Connector
>
>             <Parameter name="secure"     value="true" />
>             <!-- <Parameter name="clientAuth" value="true"/> -->
>
> The documentation lists only clientAuth which I don't know what it does.
> Once I added secure, it all worked fine.
>
> -----Original Message-----
> From: Mandar Joshi [mailto:mandarj@commerceroute.com]
> Sent: Tuesday, February 27, 2001 6:19 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Anybody doing SSL with Tomcat successfully (SSL Direct)?
>
>
> I am facing this problem - could not resolve it yet
>
> TIA
> Mandar
>
> ----- Original Message -----
> From: "Mandar Joshi" <mandarj@commerceroute.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Saturday, February 24, 2001 4:27 PM
> Subject: tomcat with SSL
>
>
> > Hi,
> >
> > I am using tomcat V3.2. I am trying to configure SSL for stand alone
> tomcat.
> > I have following entry in the server.xml file
> >         <Connector
className="org.apache.tomcat.service.PoolTcpConnector">
> >             <Parameter name="handler"
> >
> > value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
> >             <Parameter name="port"
> >                 value="8443"/>
> >             <Parameter name="socketFactory"
> >                 value="org.apache.tomcat.net.SSLSocketFactory" />
> >             <Parameter name="keystore" value="tomCertStore" />
> >             <Parameter name="keypass" value="mypass"/>
> >      <Parameter name="clientAuth" value="false"/>
> >         </Connector>
> >
> > When I start tomcat it shows me that it has started listening to port
8443
> > however When I type https://myserv:8443/, it gives me 'The page cannot
be
> > displayed' error
> >
> > Tomcat consol dumps following lines
> > 2001-02-24 04:18:13 - Ctx(  ): 400 R( /) null
> > 2001-02-24 04:18:13 - Ctx(  ): IOException in: R( /) Socket closed
> >
> > Any ideas why is this happening ?
> >
> > Thanks in advance
> > Mandar
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message