mirror of https://github.com/akelge/zsh
s_client function
This commit is contained in:
parent
1e4ca33c1b
commit
b9c96f038a
|
@ -0,0 +1,7 @@
|
||||||
|
server=$1
|
||||||
|
host=$2
|
||||||
|
if [ -z $host ]
|
||||||
|
then
|
||||||
|
host=$server
|
||||||
|
fi
|
||||||
|
openssl s_client -connect $server:443 -servername $host
|
Loading…
Reference in New Issue