-u <url> | —url <url> argument

Now we can pass a single url as argument to be checked.
This commit is contained in:
2024-11-01 15:06:23 +01:00
parent e23249c733
commit b0d2988961
2 changed files with 137 additions and 55 deletions

View File

@@ -109,6 +109,7 @@ for host in "${hosts[@]}"; do
e="Date fin: $end"
else
echo "$host"
cert=`echo |
openssl s_client -connect $host:$port 2>/dev/null |
openssl x509 -issuer -subject -dates -noout`