mirror of
https://github.com/akelge/zsh
synced 2025-07-03 13:09:07 +00:00
7 lines
147 B
Plaintext
7 lines
147 B
Plaintext
if [ ! -z "$1" ]; then
|
|
openssl s_client -connect $1 < /dev/null | \
|
|
openssl x509 -noout -text
|
|
else
|
|
echo "x509remote <host:port>"
|
|
fi
|