basecamp / thruster

MIT License
912 stars 31 forks source link

Add self-signed certificates #34

Closed reesericci closed 1 month ago

reesericci commented 5 months ago

This PR adds the ability to use self-signed certificates through the TLS_LOCAL boolean environment variable. It creates a CA in your storage dir, then uses that on each subsequent request to issue a cert for the domain.

Closes #33

ioquatix commented 1 month ago

You may want to take a look at https://rubygems.org/gems/localhost which is adopted by Puma and Falcon.

reesericci commented 1 month ago

Closing this in favor of #40