Check cert matches key openssl

Confirm the cert and private key are a pair

diff <(openssl x509 -pubkey -noout -in cert.pem) <(openssl pkey -pubout -in key.pem) && echo 'MATCH'
more openssl all 27 commands →