https://issues.apache.org/bugzilla/show_bug.cgi?id=53281

--- Comment #2 from Christopher Schultz <ch...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to