Self Signed SSL Certificates
Generating a Self Signed SSL Certificate
To quickly generate a self-signed certificate, enter a domain name below: <htmlet nocache="yes">selfsignedssl-js</htmlet>
Run the following commands: <htmlet nocache="yes">selfsignedssl-cmd</htmlet>
To configure apache to use the newly created key and SSL certificate, create a new VirtualHost with the configuration below:
<htmlet nocache="yes">selfsignedssl-apache</htmlet>
Other Notes
Note: Ensure that all keys are not readable to others. chmod 700 the ssl directory and chmod 600 all the keys.
openssl req -new -x509 -key www.example.com.key -out www.example.com.cert -days 3650 -subj /CN=www.example.com