mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
fix e86ceeccb6
This commit is contained in:
parent
e86ceeccb6
commit
0024333230
@ -881,7 +881,7 @@ sslcertfp () {
|
||||
cat $1 | openssl x509 -md5 -fingerprint -noout
|
||||
cat $1 | openssl x509 -sha1 -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
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -880,7 +880,7 @@ serversslcertfp () {
|
||||
echo "$SSSLCFFN" | openssl x509 -md5 -fingerprint -noout
|
||||
echo "$SSSLCFFN" | openssl x509 -sha1 -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
|
||||
}
|
||||
|
||||
@ -889,7 +889,7 @@ sslcertfp () {
|
||||
cat $1 | openssl x509 -md5 -fingerprint -noout
|
||||
cat $1 | openssl x509 -sha1 -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
|
||||
|
Loading…
Reference in New Issue
Block a user