Match cert and private key openssl

Equal modulus hashes prove key matches cert; empty diff = match

diff <(openssl x509 -in cert.pem -noout -modulus | md5sum) <(openssl rsa -in key.pem -noout -modulus | md5sum)
more openssl all 27 commands →