SSL Config for Mod_JK

Started by RichV, March 27, 2020, 01:09:36 PM

Previous topic - Next topic

RichV

Morning,
   We are running Appache httpd for Windows and trying to connect it to Tomcat via mod_jk. I have the httpd.conf setup and working. However, I cannot send this over https port 443 to secure authentication of the app. Part of what httpd is doing is making it easier to reach the application and is handling the authentication via mod_ldap (ldaps) to our AD Server. I want to ensure nothing from the client to the server is sent unencrypted. Can someone direct me in the proper way to setup  httpd_ahssl.conf? I have it working fine for /server-status but never finds the directory for the application. I know it has something to do with th RootDirectory and the mod_jk configs. Can we not just pass the conf over to httpd.conf but still use ssl? Sorry I am not a webadmin but I did sleep at a holiday inn.

RichV

I think I figured it out. I had to make <directory> point to the tomcat webapp folder and I had to put JKMount in the <VirtualHost> area, it was not taking it from my mod_jk.conf file like in the base httpd.con file. If anyone see some errors or a better solution please post away.

mario

You can also use mod_proxy_ajp  (ajp like mod_jk) or mod_proxy_connect (https)

benprescott

#3
Quote from: RichV on March 27, 2020, 07:47:32 PM
I think I figured it out. I had to make <directory> point to the tomcat webapp folder and I had to put JKMount in the <VirtualHost> area, it was not taking it from my mod_jk.conf file like in the base httpd.con file. If anyone see some errors or a better solution please post away.
I have a similar issue. Thanks for the solution.