1.1.0 • Published 4 years ago
certapi v1.1.0
CertAPI
CertAPI,get RSA private key and Cert and Csr.
How to use?
Write this code in your js program.
var certapi=require('certapi')
certapi({
bits:'bits number',
country:'country name',
state:'state name',
locality:'locality name',
orgname:'organization name',
orgunit:'organizational unit name',
commname:'common name'
},console.log)
You dont want type private infos?
This is ok,we deleted your private infos at generated key and csr and cert.
CLI
Run certapi.exe to generate key/csr/cert by cli.