Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
server.on("post_initialize", () => {
const addressSpace = server.engine.addressSpace!;
// to do: expose new nodeid here
const ns = addressSpace.getNamespaceIndex("http://yourorganisation.org/my_data_type/");
installPushCertificateManagement(addressSpace, {
applicationGroup: server.serverCertificateManager,
userTokenGroup: server.userCertificateManager
});
console.log("Certificate rejected folder ", server.serverCertificateManager.rejectedFolder);
});