Question

Tomcat Apache https configuration for SSL

I am trying to set up a simple site with https (only) with Apache for static delivery and Tomcat (on 8443) for dynamic (db access etc) with mod_jk or otherwise. I can’t find an easy one on google. If some one can create one or share one, will appreciate.

Subscribe
Share

What I’ve seen people do is to let Apache httpd handle the security stuff and then proxy to Tomcat. Tomcat’s port would then not be directly accessible outside the firewall but only exclusively through the proxy. It’s a bit complicated, but I believe the Apache httpd manual for mod_proxy should have the basic info you need. Good luck.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.