Skip to content

ashsmith/ssl-gen

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cmd
 
 
homebrew
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ssl-gen

ssl-gen is a small CLI utility for generating and trusting SSL Certificates on macOS.

Installation:

brew tap ashsmith/ssl-gen
brew install ssl-gen

You can generate a certificate with multiple domains if you desire:

ssl-gen new [cert-name] [domains...]

Example:

ssl-gen new ashsmith ashsmith.io ashsmith.co
Generating certificate called: ashsmith with [ashsmith.io ashsmith.co] domains, will be saved to: ./
Generating a 2048 bit RSA private key
...............................................................................................................................+++
............................+++
writing new private key to './ashsmith.key'
-----
Adding the certificate into Keychain so it is trusted by your machine! [requires sudo]
All done! 🎉

After running you'll have two files: [certname].key and [certname].crt.

You can then include these in your projects that require SSL.

About

A small CLI utility to generate SSL Certificates for local development

Resources

License

Stars

Watchers

Forks

Packages

No packages published