node-opcua-pki

PKI management for node-opcua

node-opcua-pki

Create a Certificate Authority

PKI\CA                   Certificate Authority

    PKI\rejected             Certificates that are rejected - regardless of validity
    PKI\trusted
    PKI\issuers
    PKI\issuers\crl
    PKI\issuers\certs

commands

commandHelp
democreate default certificate for node-opcua demos
createCAcreate a Certificate Authority
createPKIcreate a Public Key Infrastructure
certificatecreate a new certificate
revokerevoke a existing certificate
dumpdisplay a certificate
toderconvert a certificate to a DER format
fingerprintprint the certifcate fingerprint

Options: --help display help

demo command
crypto_create_CA  demo [--dev] [--silent] [--clean]

Options:

--helpdisplay help
--devcreate all sort of fancy certificates for dev testing purposes
--cleanPurge existing directory [use with care!]
--silent, -sminimize output
--root, -rthe location of the Certificate folder{CWD}/certificates

Example:

$crypto_create_CA  demo --dev
certificate command
$crypto_create_CA certificate --help

Options:

--helpdisplay help
--applicationUri, -athe application URIurn:{hostname}:Node-OPCUA-Server
--output, -othe name of the generated certificatemy_certificate.pem
--selfSigned, -sif true, certificate will be self-signedfalse
--validity, -vthe certificate validity in days
--silent, -sminimize output
--root, -rthe location of the Certificate folder{CWD}/certificates
--CAFolder, -cthe location of the Certificate Authority folder{root}/CA
--PKIFolder, -pthe location of the Public Key Infrastructure{root}/PKI
--privateKey, -poptional:the private key to use to generate certificate

Repository

https://github.com/node-opcua/node-opcua-pki.git


上一篇:wget-improved
下一篇:node-opcua-date-time

相关推荐

官方社区

扫码加入 JavaScript 社区