zsh/zsh.d/zshfunctions/s_client

8 lines
115 B
Plaintext

server=$1
host=$2
if [ -z $host ]
then
host=$server
fi
openssl s_client -connect $server:443 -servername $host