This commit is contained in:
Aminda Suomalainen 2015-09-21 15:42:40 +03:00
parent e86ceeccb6
commit 0024333230
2 changed files with 3 additions and 3 deletions

View File

@ -881,7 +881,7 @@ sslcertfp () {
cat $1 | openssl x509 -md5 -fingerprint -noout cat $1 | openssl x509 -md5 -fingerprint -noout
cat $1 | openssl x509 -sha1 -fingerprint -noout cat $1 | openssl x509 -sha1 -fingerprint -noout
cat $1 | openssl x509 -sha256 -fingerprint -noout cat $1 | openssl x509 -sha256 -fingerprint -noout
cat $1 | openssl x509 -sha512 -fingerprint -noou cat $1 | openssl x509 -sha512 -fingerprint -noout
} }
# Usage: serversslciphers hostname port # Usage: serversslciphers hostname port

View File

@ -880,7 +880,7 @@ serversslcertfp () {
echo "$SSSLCFFN" | openssl x509 -md5 -fingerprint -noout echo "$SSSLCFFN" | openssl x509 -md5 -fingerprint -noout
echo "$SSSLCFFN" | openssl x509 -sha1 -fingerprint -noout echo "$SSSLCFFN" | openssl x509 -sha1 -fingerprint -noout
echo "$SSSLCFFN" | openssl x509 -sha256 -fingerprint -noout echo "$SSSLCFFN" | openssl x509 -sha256 -fingerprint -noout
echo "$SSSLCFFN" | openssl x509 -sha512 -fingerprint -noou echo "$SSSLCFFN" | openssl x509 -sha512 -fingerprint -noout
unset SSSLCFFN unset SSSLCFFN
} }
@ -889,7 +889,7 @@ sslcertfp () {
cat $1 | openssl x509 -md5 -fingerprint -noout cat $1 | openssl x509 -md5 -fingerprint -noout
cat $1 | openssl x509 -sha1 -fingerprint -noout cat $1 | openssl x509 -sha1 -fingerprint -noout
cat $1 | openssl x509 -sha256 -fingerprint -noout cat $1 | openssl x509 -sha256 -fingerprint -noout
cat $1 | openssl x509 -sha512 -fingerprint -noou cat $1 | openssl x509 -sha512 -fingerprint -noout
} }
# Usage: serversslciphers hostname port # Usage: serversslciphers hostname port