mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-14 12:04:29 +02:00
check-certificates: make sure fingerprint is a string
This makes sure the condition below works for certificate templates, which do not have a fingerprint.
This commit is contained in:
parent
20d7020fe3
commit
5273efda21
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
:foreach Cert in=[ / certificate find where !revoked expires-after<3w ] do={
|
||||
:local CertName [ / certificate get $Cert name ];
|
||||
:local CommonName [ / certificate get $Cert common-name ];
|
||||
:local FingerPrint [ / certificate get $Cert fingerprint ];
|
||||
:local FingerPrint [ :tostr [ / certificate get $Cert fingerprint ] ];
|
||||
|
||||
:do {
|
||||
:if ([ :len $CertRenewUrl ] = 0) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue