mcpa-stlouis / hack-the-arch

Welcome to HackTheArch! A free open source scoring server for cyber Capture the Flag competitions!
https://hackthearch.herokuapp.com
MIT License
66 stars 27 forks source link

Let Encrypt for SSL and Docker #46

Closed jetbalsa closed 5 years ago

jetbalsa commented 6 years ago

Just another suggestion, Built-In lets encrypt, just set the hostname in the .env and a flag to turn on lets encrypt

acme.sh is a pretty good base for this.

paullj1 commented 6 years ago

When I designed the app, Let's Encrypt was very nascent. Consequently, I ended up just using CloudFlare for free SSL proxy-ing. I appreciate the suggestion, but I have no need for this. If you have it working, and it's that simple, please feel free to submit a PR or document the process in the wiki!

jetbalsa commented 6 years ago

Sounds like a plan, we can add it to be apart of docker-compose, just need to edit puma so it can be controlled and restarted when the certs get updated

paullj1 commented 5 years ago

So I've taken a different direction to push this off on another project. Recommend using a reverse proxy in front of this app that does let's encrypt for you (like Caddy.) Managing the cert renewal as part of this app adds a lot of complexity, and isn't really HTA's role.