Created
July 15, 2017 13:22
-
-
Save marcelog/835cb8771ad893dd9fdb4510d8faf22d to your computer and use it in GitHub Desktop.
Output SHA1 fingerprint for an SSL certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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