Skip to content

Instantly share code, notes, and snippets.

@phrz
Created December 16, 2017 16:50
Show Gist options
  • Select an option

  • Save phrz/57da3e5c16f0928d2b7b2d3a13fb18b5 to your computer and use it in GitHub Desktop.

Select an option

Save phrz/57da3e5c16f0928d2b7b2d3a13fb18b5 to your computer and use it in GitHub Desktop.
# This only works for RSA: checks the shared modulus
# of a CSR, Cert, and Private Key
openssl rsa -noout -modulus -in FILE.key
openssl req -noout -modulus -in FILE.csr
openssl x509 -noout -modulus -in FILE.cer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment