Skip to content

Instantly share code, notes, and snippets.

@greenantdotcom
Created July 10, 2012 19:45
Show Gist options
  • Save greenantdotcom/3085766 to your computer and use it in GitHub Desktop.
Save greenantdotcom/3085766 to your computer and use it in GitHub Desktop.
Confirm key, CSR, and certificates all have the same modulus (which should confirm that they all share the same key)
### View a key's information
openssl rsa -in key -noout -modulus
### View a CSR's information
openssl req -in csr -noout -modulus
### View a certificate's information
openssl x509 -in certificate -noout -modulus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment