mirror of https://github.com/akelge/zsh
Add x509remote function
This commit is contained in:
parent
030a3b8aca
commit
6bd3e4b627
|
@ -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
|
Binary file not shown.
Loading…
Reference in New Issue