1.0.0 • Published 6 years ago

certbaker v1.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
6 years ago

Certbaker

Build Status Coverage Status GitHub license npm

Certbaker is a command line utility that was created out of the need to easily manage fully trusted self-signed ssl certificates for local development environments with many vhosts and domains. Some browser features only work with trusted certificates and thus the simplest approach is to create a root certificate and base all the subsequent certificates on the root. The root can then be added to the trusted authorities. Certbaker acts as an OpenSSL wrapper and simplifies that process.

certbaker

Install

Certbaker depends on OpenSSL. It needs to be in the PATH and accessible by certbaker.

npm install -g certbaker

Use

Create Certificates

Generate a new certificate using the following command:

certbaker b dev.example.com

Important: On the first run of certbaker, a root certificate and key will be stored in ~/.certbaker. You have to add that certificate to the trusted root authorities on your device to make sure all the generated certificates are trusted.

After running the command, copy the provided snippet to your vhost or use the certificate in any way you wish.

List Certificates

To list the already generated certificates stored in your home directory simply run:

certbaker l