Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created July 15, 2017 13:22
Show Gist options
  • Save marcelog/835cb8771ad893dd9fdb4510d8faf22d to your computer and use it in GitHub Desktop.
Save marcelog/835cb8771ad893dd9fdb4510d8faf22d to your computer and use it in GitHub Desktop.
Output SHA1 fingerprint for an SSL certificate
#!/bin/bash
openssl x509 -noout -fingerprint -sha1 -inform pem -in client.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment