- Create a Certifcate Authority that can be use to issue certificate for domains.
Sometimes you need https on your local machine to test some functionality of your application, like payment system, but some of them require a valid https. Like stripe. And you can’t use localhost to request a certificate from issuer like Let’s Encrypt, so your option is to create a self signed certificate authority (CA). This tool make it easy.
Just clone this repository by run this command:
git clone git@github.com:madeny/lhttps.git`
from terminal and do the following:
cd lhttpscomposer installphp lh create domain.com
If you wish to add your rootCA.pem to your Mac OS trusted certificate, use the a flag --a right after domain.com like so: php lh create domain.com --a
Your domain.com.ssl.key and domain.com.ssl.crt will be in cert/live directory
Just update your nginx config with
ssl_certificate path/to/domain.com.ssl.crt;
ssl_certificate_key path/to/domain.com.ssl.key;
Right now only OSX and Ubuntu are support to create Certificate But only Mac OSX are support to automatically add your Root Certificate Authority (CA) to the Trusted list
Todo Next:
- Full support for ubuntu
- Support for Windows
- Auto deploy certificate for Nginx
- Auto deploy certificate for Apache
- Auto deploy certificate for Node.js

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
