cert-tool

1.0.5 • Public • Published

Cert-Tool

A tool to generate SSL/TLS slef signed certificates

Install

npm install -g cert-tool

Usage

# create root ca certificate 
cert-tool create-root-cert <YOUR_CA_NAME>
 
# create certificate for domain 
cert-tool create-root-cert fileName <YOUR_CA_NAME>
 
# multiple host name in one certificate 
cert-tool create-root-cert fileName <YOUR_CA_NAME> www.example.com,example.com,192.168.237.90

Node.js API

createRootCert(caName)

createCert(fileName, caName, subDomains)

Package Sidebar

Install

npm i cert-tool

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • zdying