GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - madeny/lhttps: Create https for local development environment or localhost.

BranchesTags
Open more actions menu

Latest commit

 

History

187 Commits
187 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
.github/workflows
.github/workflows
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
example.env
example.env
 
 
lh
lh
 
 
lhttps.svg
lhttps.svg
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

Alt text

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

Actions Status Build Status CircleCI BCH compliance


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

About

Create https for local development environment or localhost.

Topics

certificatehttps-certificatelocal-developmentlocalhostnginxopensslosxroot-caroot-certificatesignedubuntu

Resources

Readme
MIT license
Activity

Stars

177 stars

Watchers

16 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.