Skip to content

Instantly share code, notes, and snippets.

@nburkley
Created April 23, 2018 11:06
Show Gist options
  • Save nburkley/18881a703bf76b9453105e349792d398 to your computer and use it in GitHub Desktop.
Save nburkley/18881a703bf76b9453105e349792d398 to your computer and use it in GitHub Desktop.
Verifying SSL Cert, Key and CSR match
# Get CSR MD5
openssl req -noout -modulus -in my_csr.csr | openssl md5
# Get cert MD5
openssl x509 -noout -modulus -in my_cert.crt | openssl md5
# Get Key MD5
openssl rsa -noout -modulus -in my_key.key | openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment