Skip to content

Instantly share code, notes, and snippets.

@hkhoshraftar
Created March 21, 2020 07:44
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 hkhoshraftar/bab23a299c2f9aabd104b4ba2cc9a832 to your computer and use it in GitHub Desktop.
Save hkhoshraftar/bab23a299c2f9aabd104b4ba2cc9a832 to your computer and use it in GitHub Desktop.
#centos #ssl check #certifcate validation
openssl x509 -noout -modulus -in CERTIFICATE.crt | openssl md5
openssl req -noout -modulus -in CSR.csr | openssl md5
openssl rsa -noout -modulus -in PRIVATEKEY.key | openssl md5
#the result of all must be equal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment