Skip to content
 
 

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Proxy with TLS

Simply wraps an existing HTTP service to make it HTTPS. By default, assumes your service is on port 8080 and serves it at port 4343.

Generating certificates

$ cd tls
$ ./build-cert.sh

Then (on MacOS) drag tls/ecdsa/ca.cert into your login keychain and set it to trusted.

Operation

Return to this directory and cargo run to start proxying.

Start your HTTP service on port 8080 and see if it appears at: https://localhost:4343/

How to bind the real SSL port

$ sudo setcap CAP_NET_BIND_SERVICE=+eip <binary>
$ PORT=443 <binary>

About

TLS wrapper based on warp-reverse-proxy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages