Git Product home page Git Product logo

lhttps's Introduction

Alt text

  • Create a Certifcate Authority that can be use to issue certificate for domains.

Build StatusCircleCI

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 [email protected]:madeny/lhttps.git` 
from terminal and do the following:
  • cd lhttps
  • composer install
  • php 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

lhttps's People

Contributors

assertchris avatar bgodefroy avatar duncan3dc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.