- Make sure OpenSSL is installed and in your PATH (/private/etc/apache2).
To check run:
$ openssl
- If OpenSSL is installed:
Run the following command, to create server.key and server.crt files:
$ openssl req -new -x509 -nodes -out server.crt -keyout server.key
These can be used as follows in your httpd.conf file:
SSLCertificateFile /private/etc/apache2/server.crt
SSLCertificateKeyFile /private/etc/apache2/server.key
For more info visit: Apache SSL





