mirror of
https://github.com/akelge/zsh
synced 2025-07-03 21:19:06 +00:00
Add x509remote function
This commit is contained in:
6
zsh.d/zshfunctions/x509remote
Normal file
6
zsh.d/zshfunctions/x509remote
Normal file
@ -0,0 +1,6 @@
|
||||
if [ -r "$1" ]; then
|
||||
openssl s_client -connect $1 < /dev/null | \
|
||||
openssl x509 -noout -text | less
|
||||
else
|
||||
echo "x509remote <host:port>"
|
||||
fi
|
BIN
zsh.d/zshfunctions/x509remote.zwc
Normal file
BIN
zsh.d/zshfunctions/x509remote.zwc
Normal file
Binary file not shown.
Reference in New Issue
Block a user