Enabling SSL when Tomcat interacts with the Apache web server using mod_jk

I have /usr/local/tomcat/webapps/caswhere my java application runs. after interacting with Tomcat and the Apache web server (httpd) when http://192.168.0.117/casI try, I can see the login page, but when I try https://192.168.0.117/cas, I 404 not founddidn’t get from the Apache web server from Tomcat. , which the Apache web server responds to, works well. so I think the problem should be solved by setting up the Apache web server to send some request to tomcat. There are some tips online, but no walkthroughs.

Not Found
The requested URL /cas was not found on this server.
Apache/2.2.3 (CentOS) Server at 192.168.0.117 Port 443


https://192.168.0.117/

+3
source share
1 answer

, Apache Tomcat Connector Apache Tomcat. Apache, SSL, , grep -R SSLEngine *. Apache Tomcat Connector /etc/apache2/mods-enabled/jk.load, , (, JkMount /idp worker1) <VirtualHost> SSL. Ubuntu Debian /etc/apache2/sites-available/default-ssl.

+4

Source: https://habr.com/ru/post/1785511/


All Articles