aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-09-06 22:31:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-09-06 22:31:55 +0200
commitd434a2f2d72f0f7c02160cffec4abcb0437b365b (patch)
treef5ab36183dc707d4229cd9fe25d0cc68aaadfe51
parentb3c1450f1caf72a3e207eef2a4f36e8a738f8a2e (diff)
check-certificates: do not notify with missing validity period
-rw-r--r--check-certificates2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates b/check-certificates
index d8e535a..6152e2d 100644
--- a/check-certificates
+++ b/check-certificates
@@ -98,7 +98,7 @@ $WaitFullyConnected;
}
}
-:foreach Cert in=[ / certificate find where !revoked !scep-url expires-after<2w !(fingerprint=[]) ] do={
+:foreach Cert in=[ / certificate find where !revoked !scep-url !(expires-after=[]) expires-after<2w !(fingerprint=[]) ] do={
:local CertVal [ / certificate get $Cert ];
:if ([ :len [ / certificate scep-server find where ca-cert=($CertVal->"ca") ] ] > 0) do={