mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-certificates: do not try to renew locally issued certificates
This commit is contained in:
parent
360d30bf2a
commit
b7592f6b18
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
:return [ $CharacterReplace [ $CharacterReplace [ :tostr $1 ] "w" "w " ] "d" "d " ];
|
:return [ $CharacterReplace [ $CharacterReplace [ :tostr $1 ] "w" "w " ] "d" "d " ];
|
||||||
}
|
}
|
||||||
|
|
||||||
:foreach Cert in=[ / certificate find where !revoked expires-after<3w ] do={
|
:foreach Cert in=[ / certificate find where !revoked !ca expires-after<3w ] do={
|
||||||
:local CertName [ / certificate get $Cert name ];
|
:local CertName [ / certificate get $Cert name ];
|
||||||
:local CommonName [ / certificate get $Cert common-name ];
|
:local CommonName [ / certificate get $Cert common-name ];
|
||||||
:local FingerPrint [ :tostr [ / certificate get $Cert fingerprint ] ];
|
:local FingerPrint [ :tostr [ / certificate get $Cert fingerprint ] ];
|
||||||
|
|
Loading…
Reference in a new issue