- What it is
- One small program, open source under the Apache-2.0 licence
- How you get it
- With a widar workspace, from widar’s sales team. It runs as a container or as a systemd service. The same renewal is a library inside each SDK
- Keys
- A software keystore for level 1, or your HSM through PKCS#11 for level 2
- Talks to
acme.widar.comorest.widar.com, andapi.widar.comfor its health report- Sends
- The certificate request, the challenge answers, its version and its health. Never a private key
What it does
- Makes a new key for each certificate, in the keystore or the HSM you name.
- Answers the domain challenge: it serves the file itself, or runs your DNS hook.
- Gets the certificate over ACME, or over EST, and writes the chain where the plugins and the sidecar read it.
- Reloads them, so the next output is signed under the new certificate.
- Renews every 30 days and reports to widar, so the console shows each host and a silent one is flagged.
Get it
widar-renew comes with a widar workspace: widar’s sales team provides it, as a container image or as a program for your hosts with its systemd unit.
Configure
One file names the account and each certificate. Create the binding with widar enrolment-tokens create <system_id> --purpose acme and put its two values in the environment, never in the file.
# /etc/widar/renew.toml
[account]
directory = "https://acme.widar.com/directory"
eab_kid = "${WIDAR_EAB_KID}"
eab_hmac_key = "${WIDAR_EAB_HMAC_KEY}"
[[certificate]]
system = "sys_4kT9qWm2RbXe"
domain = "image.lumenlabs.example"
challenge = "http-01" # served by the daemon on port 80; or "dns-01" with a hook
key = "pkcs11:token=lumen-hsm;object=lumen-image-c2pa" # or "file:/var/lib/widar-renew/keys"
install_to = "/etc/widar/certs/lumen-image"
reload = ["systemctl reload widar-sidecar"]Run it
sudo systemctl enable --now widar-renew
widar-renew statusA renewal sends certificate.issued, as every issue does. If a certificate reaches 20 days left with no renewal, certificate.expiring follows. A daemon that has not reported for 24 hours shows not_reporting in the console and in the list below.
Without the daemon
- The sidecar and the plugins renew their own certificate, or take the daemon’s on the same host.
- Each SDK renews as a library: the key made in your process, the request sent.
- The CLI renews everything due:
widar certificates renew --all, from cron or a CI schedule. - Any ACME client renews, as on ACME and EST.
By API, CLI and MCP
List renewal agents
Every renewal daemon that reports to the workspace: its host label, package, version, the certificates it renews, and when it was last seen. A daemon silent for 24 hours shows not_reporting.
curl -X GET https://api.widar.com/v1/renewal_agents \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/renewal_agents
Every parameter and the full answer: List renewal daemons.