Tweak openssl command
This commit is contained in:
parent
55bf0a3c45
commit
fea3238a04
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ tlscheck () {
|
||||||
then
|
then
|
||||||
echo "Usage: tlscheck hostname:port" >&2
|
echo "Usage: tlscheck hostname:port" >&2
|
||||||
else
|
else
|
||||||
echo | openssl s_client -connect $1 | openssl x509 -text
|
openssl s_client -connect $1 </dev/null | openssl x509 -text
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue