mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-22 20:04:26 +02:00
check-certificates: do not notify with missing validity period
This commit is contained in:
parent
b3c1450f1c
commit
d434a2f2d7
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=[]) expires-after<2w !(fingerprint=[]) ] do={
|
||||||
:local CertVal [ / certificate get $Cert ];
|
:local CertVal [ / certificate get $Cert ];
|
||||||
|
|
||||||
:if ([ :len [ / certificate scep-server find where ca-cert=($CertVal->"ca") ] ] > 0) do={
|
:if ([ :len [ / certificate scep-server find where ca-cert=($CertVal->"ca") ] ] > 0) do={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue