I need a specific page to work via HTTPS with a specific certificate. How to configure the httpd.conf, httpd-ssl and httpd-vhosts.conf files in apache? Do you have any other files to modify?
I need a specific page to work via HTTPS with a specific certificate. How to configure the httpd.conf, httpd-ssl and httpd-vhosts.conf files in apache? Do you have any other files to modify?
You have to configure the domain on two Vhosts: one on port 80 and one on port 443. This will cause the site to respond both to HTTP and HTTPS on any page.
After that, you only have to restrict in your application what pages you want to force the user to see in HTTP or HTTPS, checking the schema on each request and redirecting it as the case may be.
At first just include the sites in the httpd-vhosts.conf
files and check if the SSL and certificate settings are all ok. :)