certificates How to verify if a Private Key Matches a Certificate?¶ openssl x509 -noout -modulus -in cert.crt | openssl md5 openssl rsa -noout -modulus -in privkey.txt | openssl md5 How tos....¶