basecamp / thruster

MIT License
672 stars 16 forks source link

Self-signed certificates #33

Open reesericci opened 3 weeks ago

reesericci commented 3 weeks ago

I think it would be nice if thruster allowed for secure local usage easily via self signed certs. I force HTTPS in my rails app, and so I'm going to need to either support HTTP and not know when to redirect to HTTPS or build out some system for self-signed certs and disable HTTP altogether.

reesericci commented 3 weeks ago

From an implementation perspective, I think having an TLS_SELF_SIGNED env variable makes sense and just storing the CA where the LE certs are.

reesericci commented 3 weeks ago

I think I'm going to work on implementing this and see how far I get