add script "ssl_get_fingerprint.sh"
This commit is contained in:
parent
d27ebf06c0
commit
674510d075
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# Usage : ./ssl_get_fingerprint.sh URL
|
||||
|
||||
openssl s_client -connect $1:443 -showcerts </dev/null 2>/dev/null \
|
||||
| openssl x509 -sha256 -fingerprint -noout 2>/dev/null \
|
||||
| cut -d= -f2
|
Loading…
Reference in New Issue