Main.InstallingHTTPSSupportInApache
How to install support for HTTPS (via mod_ssl) into the Apache? web server.
This configuration will enforce HTTPS-only communications with the web server.
In the file httpd.conf (usually found in /etc/httpd):
Listen 443
In the file httpd-ssl.conf (often found in /etc/httpd/extra/):
SSLProtocol -all +SSLv2 SSLCipherSuite SSLv2:+HIGH:+MEDIUM:+LOW:+EXP hmmm this bit gave me trouble
Generate self-signed key:
openssl req -new -x509 -nodes -out server.crt -keyout server.key
...which can be referred to as follows in your httpd.conf file:
SSLCertificateFile /path/to/this/server.crt SSLCertificateKeyFile /path/to/this/server.key