Created
December 7, 2017 12:29
-
-
Save mfilenko/9783472ddff97c079fb4b278b23989c9 to your computer and use it in GitHub Desktop.
Get SHA1 fingerprint
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
openssl s_client -connect host:443 -servername host < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin | grep -oP "(([0-9A-Z]){2}:){19}([0-9A-Z]){2}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment