diff options
author | Christian Hesse <mail@eworm.de> | 2020-09-01 23:40:03 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-09-01 23:40:03 +0200 |
commit | cabafc7853a00fe26ea309e82dd6035bd299f9b4 (patch) | |
tree | af614b0e1c5472125ffd5e92c268b645289e2e23 | |
parent | 5c7cde6227499cca1ea53891098098c7e727312c (diff) |
check-certificates: better check for non-empty value
-rw-r--r-- | check-certificates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates b/check-certificates index 5ac8a18..d8e535a 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<2w !(fingerprint=[]) ] do={ :local CertVal [ / certificate get $Cert ]; :if ([ :len [ / certificate scep-server find where ca-cert=($CertVal->"ca") ] ] > 0) do={ |