diff options
author | Ben Sima <ben@bsima.me> | 2018-11-14 08:53:13 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-11-14 08:53:35 -0800 |
commit | 14eaf757a8359fd05c5554bc1cde9fc5a6378e05 (patch) | |
tree | c9d45910de56fb9bc840336d7413c9a5b271b41c | |
parent | a38b5ba856b07dd6524646f803d961c64cb4f752 (diff) |
Quick script to get the ssl fingerprint sha256
-rwxr-xr-x | sslfingerprint | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sslfingerprint b/sslfingerprint new file mode 100755 index 0000000..482cc91 --- /dev/null +++ b/sslfingerprint @@ -0,0 +1 @@ +openssl s_client -connect $1:443 < /dev/null 2>/dev/null | openssl x509 -sha256 -fingerprint -noout -in /dev/stdin |