The port number should not be necessary in the URL if connecting to the
default web ssl port of 443. Virtually all browsers know 443 is the
default port to use for https protocol connections. Doesn't hurt to
specify the port -- just shouldn't be necessary. It's like having to
spec port 80 for a standard http request.
I'd recommend taking a look at the tomcat server logs. They may shed
some light on what happened from the server end.
--David
Philipp Jäggi wrote:
Hey Tony
Sounds like you forget to add the port when you connect. I tried this out
on my tomcat installation. When I connect without specifying the port, I
get the same error message. So, in your case, connect to
https://localhost:443/[mywebappdocbase].
bye Philipp
[EMAIL PROTECTED]
01/20/2006 12:59 AM
Please respond to
"Tomcat Users List" <users@tomcat.apache.org>
To
users@tomcat.apache.org
cc
Subject
SSL Failure on Tomcat 5.5.12
I just installed Tomcat 5.5.12 on Windows XP (from the .exe install). I
created and have a working webapp with servlets on the http port (80). I
carefully followed the instructions on the apache tomcat website for
setting up a SSL https connection. I followed it in every detail, creating
my own certificate using keytool (as explained both on the apache site and
right there in the server.xml file). In server.xml I set the http
connector to port 80 and the https connector to port 443. All normal http
requests work fine. But when I try to connect to https://localhost, the
browser (Firefox) just displays "Loading" and ultimately I get a popup
alert of "The connection to localhost has terminated unexpectedly. Some
data may have been transferred." While the browser is "loading" I can
bring up a Command Window and issue a netstat -a -n command and I can see
that there is an established socket connection on port 443. But nothing
happens. Any help is surely appreciated. By the way, o
n a different PC (also Windows XP) I used netbeans (4.1) to develop a
webapp, and on that I did the same SSL procedure and it worked perfectly.
--thanks
--Tony C.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]