Jeffrey,

On 19.3.2013 15:33, Jeffrey D. Fisher wrote:
Yes, I do have a CA-issued certificate with a chain to a trusted CA.  I've
imported it to the keystore.  I am close to a solution.  When I attempt to
open the default Apache web page using "https:" I get an error page that
says that the server cannot open the page.

Your HTTPS connector probably isn't configured right, or you are trying to access a wrong port.

Check with netstat ("netstat -anp tcp" on Windows or "netstat -tnlp" on Linux) do you have a process listening on port 443.


It opens with "http:" just fine.

Good, your HTTP connector seems to be working just fine.


I have configured the normal ports i.e. "80" and "443" to redirect to
"8443".  The reason for this is that the users having to include the port
numbers (8080 or 8443) would not be acceptable.  They need only enter the
DNS name into the browser and DNS does the rest.

How did you configured redirection? There are several ways to have your server listen on standard ports 80 and 443 (iptables, jsvc, Apache httpd...), each with its own peculiarities. Please provide detailed description how did you do it.


I am missing something in the configuration of SERVER.XML, WEB.XML or both
to get the server to answer to an https connection.  I cannot find what it
is that I have not done or I have missed!

Well, it is hard to say, with the information you provided so far. Could you please post your server.xml configuration with comments and passwords removed, so we could tell you if it is configured right.

It would also help us if you post relevant parts of your log files. Here is the sample saying that both HTTP and HTTPS connectors are started on ports 80 and 443:

Mar 13, 2013 5:32:13 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-80"]
Mar 13, 2013 5:32:13 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-443"]
Mar 13, 2013 5:32:13 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in ... ms

Do you have something similar in your log files?


You also used the phrase "default Apache web page". Apache is ambiguous term here. I do not understand did you mean "default Apache Tomcat web page" or "default Apache httpd web page" or something else. Some people prefer to use Apache Tomcat as a web server, while others use Apache httpd as front end, and Apache Tomcat as servlet container.

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to