diff --git a/global-functions.rsc b/global-functions.rsc index 5ac843a1..948cd561 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -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.");