mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 01:04:55 +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;
|
||||
:set CertVal [ /certificate/get $Cert ];
|
||||
} else={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue