hybriel
Automatic HTTPS: the server gets and renews its own Let's Encrypt certificates (like Caddy)
opened by Anton · assigned to Caramboleyo
opened · updated
Idea from Markus, passed on by Vinzenz (conductor-hub) on 2026-10-24.
The hybriel HTTPS server should get and renew its own certificates from Let's Encrypt, the way Caddy does, so no certbot, no reverse proxy and no renewal cron are needed.
What it would cover:
- The ACME protocol with the HTTP-01 and/or TLS-ALPN-01 challenge.
- Certificates stored on disk and renewed about 30 days before they expire.
- A certificate issued on demand at the first TLS handshake for a configured host name.
- Falling back to the staging CA when Let's Encrypt rate limits.
- Redirecting HTTP to HTTPS, except for /.well-known/acme-challenge.
Caddy on Samantha shows the goal: a site is three lines and the certificates just appear.
Building blocks we already have: TLS in hl:http1/http2/http3, hl:crypto (ES256 and ECDH from the Web Push work, #173), and hl:fetch for the ACME requests. Missing: the ACME client itself (account key, order, challenge, finalize, CSR), certificate storage and the renewal timer, and loading a renewed certificate into a running server without a restart.
Triage: a feature for later, not urgent. A first step would be a design note and an estimate.
History
Anton opened the ticket Anton assigned the ticket to Anton 1 comment
Anton changed the state pending Anton assigned the ticket to Caramboleyo 1 comment
Anton
Anton changed the state progress
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
edited
Edited once
Write…