Skip to content

Instantly share code, notes, and snippets.

@Xunnamius
Created May 6, 2020 16:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xunnamius/2595f4a45709f7294a64ba1a2a5b37d6 to your computer and use it in GitHub Desktop.
Save Xunnamius/2595f4a45709f7294a64ba1a2a5b37d6 to your computer and use it in GitHub Desktop.
How to get fingerprints of public keys in pem files
sudo openssl x509 -noout -fingerprint -md5 -inform pem -in /some/path/fullchain.pem
sudo openssl x509 -noout -fingerprint -sha1 -inform pem -in /some/path/fullchain.pem
sudo openssl x509 -noout -fingerprint -sha256 -inform pem -in /some/path/fullchain.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment