I have Tomcat and Apache web server. by MOD_JK I configure Apache to send request for http://127.0.0.1/cas
to Tomcat.
http://127.0.0.1/cas
works correctly and Tomcat response to it.
now I want this https://127.0.0.1/cas
to work, (SSL).
I search it and found that I need Virtualhost on Apache that send requests to Tomcat, my question is how can I create a SSL Virtualhost?
and should I remove all configuration that I create before this for http://127.0.0.1/cas
?
One vhost entry will reference :80 and the other :443
So for example (stripped down version) This assumes you never want to login with non-ssl.. So redirect to ssl
That also assumes tomcat has the ip of 1.2.3.4 and running on port 8080