progrium / envy

Lightweight dev environments with a twist
MIT License
321 stars 21 forks source link

switch to TLS only for web, generate certs #11

Open progrium opened 9 years ago

progrium commented 9 years ago

Need to change HTTP to only serve over TLS. By default it will generate a self-signed cert and copy into place. It can be overwritten with a custom cert.

SSH needs to do the same for the host key instead of baking in a default everybody uses. See: https://github.com/shazow/go-sshkit/blob/master/client.go#L12