check-certificates: do not notify with missing validity period

This commit is contained in:
Christian Hesse 2020-09-06 22:31:55 +02:00
parent b3c1450f1c
commit d434a2f2d7

View file

@ -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={