tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander A. Smith" <smit...@sericontech.com>
Subject HTTP request to an SSL port
Date Sat, 15 Jul 2006 20:02:56 GMT
I have a web application that requires SSL. I've successfully 
configured a CoyoteConnector on 443 with SSL, and things work 
wonderfully.

My problem is that sometimes, access to the application is attempted at

 http://1.2.3.4:443

instead of 

 https://1.2.3.4:443 (or https://1.2.3.4)

When you try to access the application with http instead of https you 
simply get a bunch of garbage characters returned. I assume that these 
characters are the beginning of the SSL handshake which is never going 
to be completed.

Is there any way for me to redirect the http requests to their https 
equivalents? Tomcat seems to be taking over the whole ssl handshake so 
that I can't step in and try to save the situation before it fails.

Any ideas on what I can do? Unfortunately, educating my users is not 
an option because it is not stupid people that are causing the 
problem, but rather a poorly written applet that I have no control 
over.

Sander


-- 
Sander A. Smith
President

Sericon Technology Inc.
71 Marquette Ave.
Toronto, Ontario M6A 1X8
(416)781-3988

Learn about enterprise security for home-based servers
www.autossl.com

www.sericontech.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message