mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-08 21:09:36 +00:00
global-functions: $CertificateDownload: drop the old builtin-trust-anchors
This commit is contained in:
parent
c451f2c191
commit
c151fc9e1d
1 changed files with 1 additions and 2 deletions
|
|
@ -192,8 +192,7 @@
|
|||
:do {
|
||||
:local CertSettings [ /certificate/settings/get ];
|
||||
:if ([ :len [ /certificate/find where common-name="ISRG Root X1" ] ] = 0 && \
|
||||
!((($CertSettings->"builtin-trust-anchors") = "trusted" || \
|
||||
($CertSettings->"builtin-trust-store") ~ "fetch" || \
|
||||
!((($CertSettings->"builtin-trust-store") ~ "fetch" || \
|
||||
($CertSettings->"builtin-trust-store") = "all") && \
|
||||
[ :len [ /certificate/builtin/find where common-name="ISRG Root X1" ] ] > 0)) do={
|
||||
$LogPrint error $0 ("Required certificate is not available.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue