HostOnNet Blog

Verify SSL certificate and private key

Looking for Linux Server Admin or WordPress Expert? We can help.

Some times you have a SSL certificate and private key that do not match. To verify if SSL certificate and Private keys are matched, run

openssl x509 -noout -modulus -in YOURDOMAIN.COM.crt | openssl md5 

Compare the md5 sum you got with that of private key.

openssl rsa -noout -modulus -in YOURDOMAIN.COM.key | openssl md5

Posted in Security

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.