tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: BugRat Report #176 has been filed.
Date Thu, 28 Sep 2000 14:27:53 GMT
Allready answered by Stefán Freyr Stefánsson [stebbi@decode.is]:

===>

try adding the line:

	    <Parameter name="secure" value="true" />

to the <Connector> entry in server.xml.

So it looks like so:

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"

value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port"
                value="443"/>
            <Parameter name="socketFactory"
                value="org.apache.tomcat.net.SSLSocketFactory" />
	      <Parameter name="secure"
		    value="true" />
        </Connector>

Regards,
	Stefan

===>

-
Unix is like a tipi -- no Gates, no Windows, and an Apache inside. 

>-----Original Message-----
>From: BugRat Mail System [mailto:tomcat-bugs@cortexity.com]
>Sent: Thursday, September 28, 2000 3:24 PM
>To: tomcat-bugs@cortexity.com
>Subject: BugRat Report #176 has been filed.
>
>
>Bug report #176 has just been filed.
>
>You can view the report at the following URL:
>
>   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/176>
>
>REPORT #176 Details.
>
>Project: Tomcat
>Category: Bug Report
>SubCategory: New Bug Report
>Class: swbug
>State: received
>Priority: high
>Severity: critical
>Confidence: public
>Environment: 
>   Release: 3.2 beta 4
>   JVM Release: 1.2.2
>   Operating System: MS NT
>   OS Release: 4.0
>   Platform: PC
>
>Synopsis: 
>Unrecognized SSL handshake
>
>Description:
>1. Download Tomcat3.2 Beta 4 binary
>2. Compile SSLSocketFactory class and put into webserver.jar
>3. do all necessary SSL set up according to server.xml
>4. change SSL port to 433 in server.xml
>5. start tomcat
>6. point browser to https://localhost
>7. get garbage in browser (five rectangles)
>8. tomcat server spits:
>
>2000-09-28 10:12:33 - 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],
> Compiled Code)
>        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(BufferedInputStream.java, Compiled C
>ode)
>        at 
>java.io.BufferedInputStream.read(BufferedInputStream.java, Compiled C
>ode)
>        at 
>org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA
>dapter.java, Compiled Code)
>        at 
>org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ
>letInputStream.java, Compiled Code)
>        at 
>org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle
>tInputStream.java, Compiled Code)
>        at 
>javax.servlet.ServletInputStream.readLine(ServletInputStream.java, Co
>mpiled Code)
>        at 
>org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt
>pRequestAdapter.java:133)
>        at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
>n(HttpConnectionHandler.java:192)
>        at 
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>        at 
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
>, Compiled Code)
>        at java.lang.Thread.run(Thread.java, Compiled Code)
>
>9. if I point my browser to https://localhost/index.html, it 
>works. However, my redirect do NOT work.
>10. This problem has been discussed in tomcat user group 
>mailing list. My high hope is that tomcat 3.2 Beta 5 would fix 
>it, but it did not.
>
>Thanks,
>
>
>

Mime
View raw message