Verifying the .crt and .key
Everybody had that panic moment when apache refusing to start saying ‘private key doesn’t match while installing SSL certificate.
Here is how to check whether the .crt and .key you have is matching or not.
#openssl x509 -noout -modulus -in leosimon.crt | openssl md5
#openssl rsa -noout -modulus -in leosimon.key | openssl md5
note: replace the .crt and .key filenames
If both the outputs display the same information then they are matching ones and you are all set to proceed with install SSL.