mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-05 05:29:37 +00:00
global-functions: $CertificateAvailable: drop the old builtin-trust-anchors
This commit is contained in:
parent
4e38a6651e
commit
ad32e1af94
1 changed files with 1 additions and 2 deletions
|
|
@ -128,8 +128,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
:local CertSettings [ /certificate/settings/get ];
|
:local CertSettings [ /certificate/settings/get ];
|
||||||
:if ((($CertSettings->"builtin-trust-anchors") = "trusted" || \
|
:if ((($CertSettings->"builtin-trust-store") ~ $UseFor || \
|
||||||
($CertSettings->"builtin-trust-store") ~ $UseFor || \
|
|
||||||
($CertSettings->"builtin-trust-store") = "all") && \
|
($CertSettings->"builtin-trust-store") = "all") && \
|
||||||
[ :len [ /certificate/builtin/find where common-name=$CommonName ] ] > 0) do={
|
[ :len [ /certificate/builtin/find where common-name=$CommonName ] ] > 0) do={
|
||||||
:return true;
|
:return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue