Skip to content

dlewisf/ssl-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL Builder

A command line script that creates Certificate Authorities, Keys, and Certificates. This is base off of Jamie Nguyen's OpenSSL Certificate Authority guide.

Installation

Clone this repo. Then run npm install to install dependencies.

$ npm install

Options

Short name Long name Description Required
-r --root-dir <path> The path to start from. true
-s --build-server Build a new SSL stack for the server false
-c --build-client Build a new SSL stack for the client false
-i --include-intermediate Create an intermediate CA false
-k --key-path <path> Set an existing key path false
-e --new-cert <type> Create a new cert signed by an existing key false

Examples

Create new server side CA, Key and Cert files in the /tmp directory.

$ node main.js -sr /tmp

Create new server and client side CA, Intermediate CA, Key and Cert files in the /tmp directory.

$ node main.js -csir /tmp

Releases

No releases published

Packages

No packages published