diff options
author | Christian Hesse <mail@eworm.de> | 2020-11-13 22:49:50 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-11-13 22:49:50 +0100 |
commit | 021463c76b5ce1106687ab0a526276a38b776c77 (patch) | |
tree | a4c68d4e4530f9e57c24579efc337d5dcede4168 /check-certificates | |
parent | d519b70e650498669c569926b5b591dec7ab5944 (diff) | |
parent | 966e7b6fd3291c01eb9ab5639c92bc1ea95f8e5d (diff) |
Merge branch 'log-forward'
Diffstat (limited to 'check-certificates')
-rw-r--r-- | check-certificates | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check-certificates b/check-certificates index ced2a69..d5c08b9 100644 --- a/check-certificates +++ b/check-certificates @@ -33,7 +33,7 @@ $WaitFullyConnected; :do { :if ([ :len $CertRenewUrl ] = 0) do={ - $LogPrintExit warning ("No CertRenewUrl given.") true; + $LogPrintExit info ("No CertRenewUrl given.") true; } :foreach Type in={ ".pem"; ".p12" } do={ @@ -114,7 +114,7 @@ $WaitFullyConnected; "Issuer: " . ($CertVal->"ca") . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN") . "\n" . \ "Validity: " . ($CertVal->"invalid-before") . " to " . ($CertVal->"invalid-after") . "\n" . \ "Expires in: " . [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ]); - $LogPrintExit warning ("The certificate " . ($CertVal->"name") . " " . $State . \ + $LogPrintExit info ("The certificate " . ($CertVal->"name") . " " . $State . \ ", it is invalid after " . ($CertVal->"invalid-after") . ".") false; } } |