Skip to content

Certbaker is a node 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.

License

Notifications You must be signed in to change notification settings

marcelgwerder/certbaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

Certbaker is a node 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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published