changes 4

This commit is contained in:
Andrea Mistrali 2021-11-23 17:58:15 +01:00
parent ddcda3ad7c
commit e7a5d9c7e9
No known key found for this signature in database
GPG Key ID: 6FB0A77F6D5DA9B2
4 changed files with 1 additions and 7 deletions

View File

@ -16,7 +16,7 @@ while getopts ":hr:" arg; do
r)
remote=1
host=$OPTARG
hostname=echo $host|cut -d: -f1
hostname=$(echo $host|cut -d: -f1)
;;
h|*) help=1
;;

Binary file not shown.

View File

@ -1,6 +0,0 @@
if [ ! -z "$1" ]; then
openssl s_client -connect $1 < /dev/null | \
openssl x509 -noout -text
else
echo "x509remote <host:port>"
fi

Binary file not shown.