Find if ssl certificate and key are paired correctly.

To view the contents of a certificate:

openssl x509 -noout -text -in filename.crt

To view the contents of a private key:

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.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.