Closed tehmoon closed 4 years ago
Superseded by #56 . No module will have tls capability. The idea is to use the dedicated tls module and proxy to the right server module. Something like this:
-- tls --mode endpoint --connect-to localhost:8080 --listen :443 \
-- http-server --addr :8081
Grab the logic from https://gist.github.com/tehmoon/507f331abb6357dfeedd33356f4baca1 and set a flag to generate a self signed certificate. The fingerprint of the public key should be output in the logs at startup.