tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53281] Tomcat returns garbage data with HTTP/0.9 200 OK header when SSL port is accessed using http
Date Tue, 05 Jun 2012 19:36:26 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53281

--- Comment #2 from Christopher Schultz <chris@christopherschultz.net> ---
Apache httpd does do something like this; not sure if it's possible using JSSE:

$ telnet my.secure.site.com 443
Trying 208.85.173.131...
Connected to my.secure.site.com.
Escape character is '^]'.
GET /

blah
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a
href="https://my.secure.site.com/"><b>https://my.secure.site.com/</b></a></blockquote></p>
<hr>
<address>Apache/2.2 Server at my.secure.site.com Port 443</address>
</body></html>
Connection closed by foreign host.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message