mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 09:44:30 +02:00
check-certificates: exclude certificates issued by SCEP
This commit is contained in:
parent
1cde38e2da
commit
1282a91f04
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
$LogPrintExit warning "Time is not yet synchronized." true;
|
||||
}
|
||||
|
||||
:foreach Cert in=[ / certificate find where !revoked !ca expires-after<3w ] do={
|
||||
:foreach Cert in=[ / certificate find where !revoked !ca !scep-url expires-after<3w ] do={
|
||||
:local CertVal [ / certificate get $Cert ];
|
||||
|
||||
:do {
|
||||
|
@ -91,7 +91,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
:foreach Cert in=[ / certificate find where !revoked expires-after<2w fingerprint~"."] do={
|
||||
:foreach Cert in=[ / certificate find where !revoked !scep-url expires-after<2w fingerprint~"."] do={
|
||||
:local CertVal [ / certificate get $Cert ];
|
||||
|
||||
:local ExpiresAfter [ $FormatExpire ($CertVal->"expires-after") ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue