SSL checking
October 6th, 2009
To view the contents of a certificate:
cd /etc/ssl/certs
openssl x509 -noout -text -in filename.crt
To view the contents of a private key:
cd /etc/ssl/private
openssl rsa -noout -text -in filename.key
If the modulus number and exponent of the cert and key match,
they are paired correctly. If not, they are mismatched and apache
will not start with ssl enabled.
To view the contents of a csr file:
openssl req -noout -text -in filename.csr