Skip to content

Instantly share code, notes, and snippets.

@joelabair
Created October 7, 2014 15:33
Show Gist options
  • Save joelabair/78f9a738e1758204dfb2 to your computer and use it in GitHub Desktop.
Save joelabair/78f9a738e1758204dfb2 to your computer and use it in GitHub Desktop.
Verify SSL Cert and Key match
-- the MD5 hashes must match --
openssl rsa -noout -modulus -in server.key | openssl md5
openssl x509 -noout -modulus -in server.crt | openssl md5
@joelabair
Copy link
Author

I use this to test cert and key before installation on any server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment