command
module
Version:
v0.0.0-...-ecd0cb3
Opens a new window with list of versions in this module.
Published: Jun 9, 2022
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.