mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-04-05 12:49:36 +00:00
check-certificates: try renew with common-name or subject-alt-name only
One of these is required to assemble the url.
This commit is contained in:
parent
428478e690
commit
87f7495534
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@
|
|||
}
|
||||
$WaitFullyConnected;
|
||||
|
||||
:foreach Cert in=[ /certificate/find where !revoked !ca !scep-url expires-after<$CertRenewTime ] do={
|
||||
:foreach Cert in=[ /certificate/find where !revoked !ca !scep-url expires-after<$CertRenewTime \
|
||||
(common-name or subject-alt-name) ] do={
|
||||
:local CertVal [ /certificate/get $Cert ];
|
||||
:local LastName;
|
||||
:local FetchName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue