mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-01 03:29:35 +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 ];
|
||||
:if ((($CertSettings->"builtin-trust-anchors") = "trusted" || \
|
||||
($CertSettings->"builtin-trust-store") ~ $UseFor || \
|
||||
:if ((($CertSettings->"builtin-trust-store") ~ $UseFor || \
|
||||
($CertSettings->"builtin-trust-store") = "all") && \
|
||||
[ :len [ /certificate/builtin/find where common-name=$CommonName ] ] > 0) do={
|
||||
:return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue