Skip to content

Instantly share code, notes, and snippets.

@nascimento
Last active August 29, 2015 14:25
Show Gist options
  • Save nascimento/ce53bc5fb6042ad5a4b0 to your computer and use it in GitHub Desktop.
Save nascimento/ce53bc5fb6042ad5a4b0 to your computer and use it in GitHub Desktop.
Compare CRT and KEY
get md5 from crt
openssl x509 -noout -modulus -in /etc/yourcertificate.crt | openssl md5
get md5 from key
openssl rsa -noout -modulus -in /etc/private.key | openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment