mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-09 20:54:34 +02:00
check-certificates: properly renew from template
This commit is contained in:
parent
a12ccba29e
commit
9fb596135e
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ $WaitFullyConnected;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ($CertVal->"fingerprint" != [ /certificate/get $Cert fingerprint ]) do={
|
:if ([ :len ($CertVal->"fingerprint") ] > 0 && $CertVal->"fingerprint" != [ /certificate/get $Cert fingerprint ]) do={
|
||||||
$LogPrintExit2 debug $0 ("Certificate '" . $CertVal->"name" . "' was updated in place.") false;
|
$LogPrintExit2 debug $0 ("Certificate '" . $CertVal->"name" . "' was updated in place.") false;
|
||||||
:set CertVal [ /certificate/get $Cert ];
|
:set CertVal [ /certificate/get $Cert ];
|
||||||
} else={
|
} else={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue