check-certificates: do not try to renew locally issued certificates

This commit is contained in:
Christian Hesse 2019-05-02 11:59:43 +02:00
parent 360d30bf2a
commit b7592f6b18

View file

@ -26,7 +26,7 @@
:return [ $CharacterReplace [ $CharacterReplace [ :tostr $1 ] "w" "w " ] "d" "d " ];
}
:foreach Cert in=[ / certificate find where !revoked expires-after<3w ] do={
:foreach Cert in=[ / certificate find where !revoked !ca expires-after<3w ] do={
:local CertName [ / certificate get $Cert name ];
:local CommonName [ / certificate get $Cert common-name ];
:local FingerPrint [ :tostr [ / certificate get $Cert fingerprint ] ];