Is there any command to check if the SSL certificate and the private key matches or not?
We can run the following command to see if the certificate and the key match or not.
openssl x509 -noout -modulus -in | openssl md5
openssl rsa -noout -modulus -in | openssl md5
Or can check: Certificate Key Matcher
Link: https://www.sslshopper.com/certificate-key-matcher.html
We can run the following command to see if the certificate and the key match or not.
openssl x509 -noout -modulus -in | openssl md5
openssl rsa -noout -modulus -in | openssl md5
Or can check: Certificate Key Matcher
Link: https://www.sslshopper.com/certificate-key-matcher.html