I have got a SSL certificate for domain "www.example.com" and I have installed this certificate in tomcat server which runs on port 80 which runs fine. Now my requirement is to run php code in https since my Apache is running on 8080 how do I make https:// work on port 8080. Is it even possible? I tried installing same certificate in Apache (Editing SSL.conf file to point to my certificate.). I even converted tomcat keystore to apache key file. But I think I need mod_ssl which is not installed in my server and I am not even able to install it (Reconfigure Apache with mod_ssl).
To summarize my questions :
- Is it possible to install SSL certificate on server running on port 8080.
- Is it possible to use same certificate generated from tomcat keystore in Apache
- What is the easiest way to do this?
- How to reconfigure Apache with mod_ssl if installing SSL certificates requires that. (This maybe a dumb question -> Under which folder do I run ./configure --enable-ssl... type of command)
My basic requirement is to run both PHP and JSP codes through https.
mod_ssl
with it (perhaps it's simply not enabled). In addition, you should consider configuring port 443 with HTTPS, not 80 (which is the default port for HTTP), and perhaps 8443 instead of 8080. - Bruno