Setting Up SSL for Running Foreman on HTTPS

I’ve never tried this before, but Puma can use HTTPS: File: README — Puma master

We already have an env var to change bind:

In theory it’s making sure the localhost gem is loaded and use BIND=ssl://HOST:PORT.

I haven’t checked if the SSL client certs are properly working though, but I doubt you can also issue client certificates with the localhost gem. You can also combine the approaches and tell Puma to use existing certificates.