mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-15 04:24:29 +02:00
check-certificates: better check for non-empty value
This commit is contained in:
parent
5c7cde6227
commit
cabafc7853
1 changed files with 1 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue