That is because when you type in http://www.paypal.com:443 the Paypal server returns the appropriate reply to the browser informing it that there is no page that resolves to that URL.
Assuming that you put a standalone Tomcat server to serve this stuff at Paypal you would expect the same message if someone types in http://... instead of https://... Tomcat however will return a text string that has some non-printable characters in it, i.e. it does not notify the browser that there is nothing at the http://... address rather it serves up garbage... Michael Petres ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InnovObjX Corp. Web: www.innovobjx.com Tel: 905-729-2235 x3 Fax: 905-729-2235 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 1:47 PM To: 'Tomcat Users List' Subject: RE: SSL on Tomcat standalone not working I don't think its a Tomcat issue. I think it's more of a browser issue. If you use "http", the browser doesn't know you intend to connect using SSL, regardless of port number. Try it with paypal, for example: Paypal doesn't accept non-SSL requests at www.paypal.com. If you try to connect using http://www.paypal.com:443 you get an error message. Not a Paypal error message, but a browser error message. Port number isn't the key to starting a SSL connection with a webserver...the "https" is, at least on the browser side. John > -----Original Message----- > From: Michael Petres [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 1:33 PM > To: Tomcat Users List > Subject: RE: SSL on Tomcat standalone not working > > > Great tip :), of course you need to use https://, what an > oversight on my > part... oh well > > But shouldn't Tomcat return an error page if someone types in > http://servername:8443/.... by mistake? It is rather > ambiguous what's going > on with the current return of '' > > Michael Petres > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > InnovObjX Corp. > Web: www.innovobjx.com > Tel: 905-729-2235 x3 > Fax: 905-729-2235 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
