We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72962d2 commit a6490f1Copy full SHA for a6490f1
1 file changed
70-tls
@@ -58,7 +58,7 @@ output=""
58
output+=" Domain | Status\n"
59
for i in "${!certificates[@]}"; do
60
cert="${certificates[$i]}"
61
- certname=$(openssl x509 -subject -noout -in "$cert" | cut -d " " -f3)
+ certname=$(openssl x509 -subject -noout -in "$cert" | cut -d "=" -f3)
62
exp_date=$(expiry_date "$cert")
63
expires=$(unix_date "$exp_date")
64
now=$(unix_date "now")
0 commit comments