Skip to content

Instantly share code, notes, and snippets.

@badcrc
Created January 18, 2017 10:46
Show Gist options
  • Save badcrc/af8cb6e9bf9ac82ef4b3f45e43dd3dbf to your computer and use it in GitHub Desktop.
Save badcrc/af8cb6e9bf9ac82ef4b3f45e43dd3dbf to your computer and use it in GitHub Desktop.
Check certificates vs private keys
openssl x509 -noout -modulus -in certificate.crt | openssl md5
openssl rsa -noout -modulus -in privateKey.key | openssl md5
openssl req -noout -modulus -in CSR.csr | openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment