philippgille / serve

serve starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues
Mozilla Public License 2.0
154 stars 15 forks source link

Add HTTPS Server #9

Closed philippgille closed 5 years ago

philippgille commented 6 years ago

Instead of just HTTP, HTTPS should be possible as well.

philippgille commented 5 years ago

Also check out this PR on kabukky/httpscersts: https://github.com/kabukky/httpscerts/pull/1 Or the fork the PR is originating from: https://github.com/gerald1248/httpscerts/tree/diskless

Also check out how Caddy does its TLS self-signing (it's similar to the above): https://github.com/mholt/caddy/blob/master/caddytls/selfsigned.go