How to use node-opcua-server-configuration - 1 common examples

To help you get started, we’ve selected a few node-opcua-server-configuration examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-samples / bin / server_with_push_certificate.ts View on Github external
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);

    });

node-opcua-server-configuration

pure nodejs OPCUA SDK - module server-configuration

MIT
Latest version published 1 month ago

Package Health Score

78 / 100
Full package analysis

Popular node-opcua-server-configuration functions