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