Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS Endpoints for Proxy and Controller #24

Closed
michaelquigley opened this issue Aug 5, 2022 · 3 comments
Closed

TLS Endpoints for Proxy and Controller #24

michaelquigley opened this issue Aug 5, 2022 · 3 comments
Assignees
Labels
spike Requires R&D; figure it out
Milestone

Comments

@michaelquigley
Copy link
Collaborator

michaelquigley commented Aug 5, 2022

Enable native (not through an external reverse proxy) TLS for both the zrok proxy and the zrok ctrl endpoints.

@michaelquigley michaelquigley self-assigned this Aug 5, 2022
@michaelquigley michaelquigley added this to the v0.1 milestone Aug 5, 2022
@michaelquigley michaelquigley modified the milestones: v0.1, v0.3 Sep 1, 2022
@michaelquigley michaelquigley modified the milestones: v0.3, v0.4 Jan 19, 2023
@michaelquigley michaelquigley moved this from Done to Backlog in zrok Development Roadmap Jan 19, 2023
@camotts camotts moved this from Backlog to Development in zrok Development Roadmap May 25, 2023
@camotts camotts moved this from Development to Evaluating in zrok Development Roadmap May 25, 2023
@qrkourier
Copy link
Member

Before this feature is available, we could have a frontend config that means "This frontend is always accessed via HTTPS." When set, the frontend would set the Secure flag on the zrok cookie so that it's harder to steal.

@qrkourier
Copy link
Member

The last time I set up a zrok instance I decided to use Caddy as the reverse proxy. It was a dramatically improved experience over Nginx. I have no opinions about comparative performance.

A native server TLS feature alone wouldn't tempt me away from using Caddy, now that I've tasted managed certs.

I'm happy to share my Caddy setup, and it makes me wonder if we could embed Caddy in the frontend like we did for the backend, and enjoy Caddy's modular ACME solvers.

@qrkourier
Copy link
Member

If zrok provides native server TLS then I'd still need an external solver like certbot, and I'd need a watchdog process to notice when the cert is renewed and HUP zrok frontend, depending on the deployment env.

That is, send a HUP (assuming the zrok frontend catches HUPs to reload config) if running as a systemd service, and perform a rolling pod replacement if in K8s, and probably a ham-fisted container bounce if running in Docker Compose.

@michaelquigley michaelquigley moved this from Evaluating to Backlog in zrok Development Roadmap Jan 10, 2024
@camotts camotts moved this from Backlog to Development in zrok Development Roadmap Jan 17, 2024
@camotts camotts mentioned this issue Jan 17, 2024
@camotts camotts moved this from Development to Evaluating in zrok Development Roadmap Jan 17, 2024
@camotts camotts moved this from Evaluating to Done in zrok Development Roadmap Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spike Requires R&D; figure it out
Projects
Development

No branches or pull requests

3 participants