We use self-signed certificates for SSL. All certificates are signed by a master signing certificate which can be found at: http://meridian.tamucc.edu/cbi-ca.crt
OpenSSL has a certificate authority script for signing certificates which can be found at /etc/pki/tls/misc/CA on meridian
lighthouse.tamucc.edu-req.pem. If a {servername}-req.pem file does not exist already, you will have to create a new certificate request and private key
newkey.pem and newreq.pem as input, so copy {servername}-req.pem to newreq.pem and {servername}-key.pem to newkey.pem (you should already have these if you just created a new request and key)
cp lighthouse.tamucc.edu-key.pem newkey.pem
cp lighthouse.tamucc.edu-req.pem newreq.pem
./CA -sign
y to sign the certificate for 1 year and y again to commit
lighthouse.tamucc.edu-cert.pem)
/etc/httpd/conf/ssl
/etc/init.d/httpd restart
This is done on a per-host basis (this example assumes we are doing this for lighthouse) and only needs to be done once per host (i.e., not annually).
cd /etc/pki/tls/misc/
./CA -newreq
lighthouse.tamucc.edu)
root@lighthouse.tamucc.edu should be fine)
mv newkey.pem newkey.pem.bak
openssl rsa -in newkey.pem.bak -out newkey.pem
rm newkey.pem.bak (we don't need the one with the pass phrase any more)
cp newreq.pem lighthouse.tamucc.edu-req.pem
cp newkey.pem lighthouse.tamucc.edu-key.pem
newkey.pem, lighthouse.tamucc.edu-key.pem) are mode 0600.
The important CA stuff (which needs to be backed up) is:
It's probably a good idea to back up everything in /etc/pki