Skip to content

Instantly share code, notes, and snippets.

@schwabix
Created November 19, 2021 12:08
Show Gist options
  • Save schwabix/dd8492c7b942ef8a9c88346d5c6a20da to your computer and use it in GitHub Desktop.
Save schwabix/dd8492c7b942ef8a9c88346d5c6a20da to your computer and use it in GitHub Desktop.
Validate SSL public with private key
# MD5 für Public Key
openssl x509 -noout -modulus -in cert.pem | openssl md5
# MD5 für Private Key
openssl rsa -noout -modulus -in key.pem | openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment