Skip to content

lgarron/servecert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

servecert

A small local HTTPS proxy using mkcert certificates. Please use with care.

Install

Using Homebrew:

brew install --HEAD lgarron/lgarron/servecert

# Proxy to https://localhost/
servecert https://example.com /

You could also also use any of the following as the second argument:

Argument Meaning
foo.test https://foo.test/
foo.test:8000/ https://foo.test:8000/
/subpath https://localhost/subpath/
http://localhost/ (serves HTTP without a cert on port 80)
http://foo.test:8000/subpath/ (serves HTTP without a cert on port 8000)

When you proxy a new domain using HTTPS for the first time, this invokes mkcert to install a root certificate and generates a certificate. Learn more about mkcert certificate installation.

Build from source

git clone https://github.com/lgarron/servecert && cd servecert
make build

About

πŸŒβ†”οΈπŸ”’ A small local HTTPS proxy using mkcert certificates. Please use with care.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published