node-opcua-server-configuration 2.186.3 → 2.186.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,7 @@ import type { CallMethodResultOptions } from "node-opcua-types";
27
27
  import { DataType, type Variant, VariantArrayType } from "node-opcua-variant";
28
28
 
29
29
  import type { CreateSigningRequestResult, PushCertificateManager } from "../push_certificate_manager.js";
30
+ import { markSharedTrustListStore } from "./application_setup.js";
30
31
  import { installCertificateFileWatcher } from "./install_certificate_file_watcher.js";
31
32
  import { installAccessRestrictionOnTrustList, promoteTrustList } from "./promote_trust_list.js";
32
33
  import {
@@ -320,6 +321,9 @@ function bindCertificateManager(addressSpace: AddressSpace, options: PushCertifi
320
321
  "ServerConfiguration"
321
322
  ) as UAServerConfiguration;
322
323
 
324
+ if (options.applicationGroup && options.userTokenGroup) {
325
+ markSharedTrustListStore(options.applicationGroup, options.userTokenGroup);
326
+ }
323
327
  const defaultApplicationGroup = serverConfiguration.certificateGroups.getComponentByName(
324
328
  "DefaultApplicationGroup"
325
329
  ) as UACertificateGroup | null;