Generate CSR for apache with mod_ssl
daniel posted this on Mar 23rd 2011 under Howto
This post is just as a reminder so i can look this up when i need to.. But if it helps you that's great.
To generate a 2048 bits certificate request do this:
openssl genrsa -out www.whatever.nl.key 2048
openssl req -new -key www.whatever.nl.key -out www.whatever.nl.csr
In the vhost add this:
SSLCertificateFile /where/ever/www.whatever.nl.crt
SSLCertificateKeyFile /where/ever/www.whatever.nl.key
When a intermediate CA is needed, download it, and add this line:
SSLCACertificateFile /where/ever/intermediate.ca.crt
