mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-04 13:09:37 +00:00
INITIAL-COMMANDS: drop the old builtin-trust-anchors
This commit is contained in:
parent
ad32e1af94
commit
04a33f9ca5
1 changed files with 1 additions and 2 deletions
|
|
@ -23,8 +23,7 @@ Run the complete base installation:
|
||||||
:local CertFingerprint "e14ffcad5b0025731006caa43a121a22d8e9700f4fb9cf852f02a708aa5d5666";
|
:local CertFingerprint "e14ffcad5b0025731006caa43a121a22d8e9700f4fb9cf852f02a708aa5d5666";
|
||||||
|
|
||||||
:local CertSettings [ /certificate/settings/get ];
|
:local CertSettings [ /certificate/settings/get ];
|
||||||
:if (!((($CertSettings->"builtin-trust-anchors") = "trusted" || \
|
:if (!((($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=$CertCommonName ] ] > 0)) do={
|
[ :len [ /certificate/builtin/find where common-name=$CertCommonName ] ] > 0)) do={
|
||||||
:put "Importing certificate...";
|
:put "Importing certificate...";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue