Skip to content

Instantly share code, notes, and snippets.

@giannisp
Created February 8, 2017 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giannisp/798c2c34a3f8df0f249af28500236c4d to your computer and use it in GitHub Desktop.
Save giannisp/798c2c34a3f8df0f249af28500236c4d to your computer and use it in GitHub Desktop.
Verify that an SSL certificate and key are matching
# md5 sums should match
openssl x509 -noout -modulus -in server.crt| openssl md5
openssl rsa -noout -modulus -in server.key| openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment