My notepad

Chris' IT notes…
← Back

SSL - Check if a certificate matches with its public key

sh
# openssl rsa -modulus -noout -in private_key.key | openssl md5
(stdin)= jhg557dd83jdlki93de778b69ojg536

# openssl x509 -modulus -noout -in certificate.crt | openssl md5
(stdin)= jhg557dd83jdlki93de778b69ojg536