The Apache Haus Forum

Forum Topics => Apache 2.4 => Topic started by: RichV on March 27, 2020, 01:09:36 PM

Title: SSL Config for Mod_JK
Post by: RichV on March 27, 2020, 01:09:36 PM
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.
Title: Re: SSL Config for Mod_JK
Post by: 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.
Title: Re: SSL Config for Mod_JK
Post by: mario on April 01, 2020, 09:57:30 AM
You can also use mod_proxy_ajp  (ajp like mod_jk) or mod_proxy_connect (https)
Title: Re: SSL Config for Mod_JK
Post by: benprescott on May 27, 2020, 08:22:32 AM
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.