certwarden_server
Deploys Cert Warden, a central ACME
client, on ONE host. It obtains Let’s Encrypt certificates (DNS-01, e.g. via
Bunny) and serves each certificate plus key to the hosts that need it
(certwarden_agent). That keeps your DNS API key on a single host.
License: Cert Warden permits only personal, private (non-commercial) use and
reserves all other rights. It is not open source; confirm it suits your use. The
proxy side of this framework doesn’t depend on it: anything that writes
<certs dir>/<name>/fullchain.pem and privkey.pem works (see certwarden_agent).
After the first deploy (done in Cert Warden’s web UI, on the tailnet)
Section titled “After the first deploy (done in Cert Warden’s web UI, on the tailnet)”- Open
https://<tailscale-ip>:4055(self-signed at first) and change the default admin credentials immediately. - Add the ACME account, then your DNS provider (Bunny) under the DNS-01 challenge providers. Credentials entered there live in the data volume.
- Create a private key and a certificate for each name set (e.g. a wildcard), with an API key for each (a certificate API key and a private-key API key).
- Put those two keys in a secret of their own for that certificate:
scripts/secrets.sh create cw.<name>thenedit(fileconfig/secrets/cw/<name>.yml; see the template’s_template.yml.example). Only hosts that list<name>(ascert:inhosts.yml) read it;scripts/access.sh syncgrants them.
(The UI steps are from my reading of the project; verify against its docs.)
Operations
Section titled “Operations”- Bound to the Tailscale IP only by default.
- Back up the
certwarden-datavolume (it holds the DNS credentials and every private key) with an encrypted policy. - If it is down, existing certificates keep working until they expire; renewals and new issuance pause.