tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <lmhe...@orange.fr>
Subject HTTPS / URLs with no port number / Tomcat only
Date Sun, 26 Oct 2014 16:04:02 GMT
Hello and thank you for reading my post.

I was willing to run only a Tomcat server and not a Tomcat server + an
Apache HTTP server.
Mostly because:
-  an article like this one:
http://www.tomcatexpert.com/blog/2011/11/02/best-practices-securing-apache-tomcat-7
says, if I understand properly, that Tomcat is secure enough with what it
basically implements, 
- and because, if possible, I don't want to have to secure an Apache HTTP
server in addition to the rest of the architecture... (Actually I already
made a solution work with an Apache server but I was wondering if I could do
without it).

So, I am willing to serve HTTPS pages only with Tomcat and with URLs not
including a port number.

I did some config (mostly taken from
http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html and
http://java.dzone.com/articles/setting-ssl-tomcat-5-minutes)
I could make this work:
https://localhost:8443/my_webapp/a_page.jsp

And this:
http://localhost/my_webapp/a_page.jsp
automatically redirects to:
https://localhost:8443/my_webapp/a_page.jsp

Now, in all possible cases, I would like to have this URL instead:
https://localhost/my_webapp/a_page.jsp
(which doesn't work presently).

Can this be achieved with Tomcat ONLY? And how?

Best regards.



--
View this message in context: http://tomcat.10.x6.nabble.com/HTTPS-URLs-with-no-port-number-Tomcat-only-tp5024482.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

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


Mime
View raw message