Commit Graph
8 Commits
Author SHA1 Message Date
Eduardo Silva c5f215d9df Add per-host certificate type and DNS challenge support to App Gateway
Each application host now selects how its TLS certificate is issued:
self-signed, ACME HTTP challenge, or ACME DNS challenge using a stored
DNS credential. ACME modes fall back to the internal CA when issuance
fails, so hosts stay reachable with a browser warning instead of a TLS
error.

- Add DnsChallengeCredential model and provider registry (Cloudflare)
- Add certificate_type and dns_credential to ApplicationHost
- Sync WireGuard WebAdmin hosts from .env into the reserved application
- Export per-host TLS settings to tls.json, read only by Caddy
- Group hosts by certificate settings into separate Caddy site blocks
- Build Caddy with the Cloudflare DNS module using xcaddy
- Regenerate the Caddyfile without DNS challenge if validation fails
2026-11-17 15:59:40 -03:00
Eduardo Silva 9e4da484fe add default entries creation on post-migrate signal and refactor application model logic 2026-03-16 17:08:50 -03:00
Eduardo Silva 51a2535e87 add display_name field to models and update related forms and templates 2026-03-16 16:33:12 -03:00
Eduardo Silva 5cadfba3b7 add allow_invalid_cert field to application model and update related forms and config processing 2026-03-16 14:27:03 -03:00
Eduardo Silva e19033a28c update policy_type choices 2026-03-13 17:44:53 -03:00
Eduardo Silva 5f894c4e6e add application details view and update related forms; improve layout 2026-03-12 18:41:21 -03:00
Eduardo Silva 289abdada3 add app_gateway management views and templates 2026-03-12 14:15:14 -03:00
Eduardo Silva 1b51ced8bd gatekeeper and app_gateway first commit 2026-03-11 16:35:43 -03:00