diff options
author | Christian Hesse <mail@eworm.de> | 2020-11-13 22:43:41 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-11-13 22:43:41 +0100 |
commit | 348cc2e3f395346b15941ff380c47e4675918808 (patch) | |
tree | 70591b219f209b0e25a18a41ba63dfc3ede1b36d /check-certificates | |
parent | 19ed080244341601ab71fa2f600343a612df5248 (diff) |
check-certificates: decrease log severity to info
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; } } |