# The renewal daemon

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Certificates. URL: https://widar.com/docs/certificates/renewal-daemon

widar-renew runs on your servers: it makes the key there, answers the domain challenge, gets the certificate and renews it every 30 days, then hands it to the plugins and the sidecar. Open source.

Updated December 3, 2026

widar-renew

- 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](https://widar.com/contact). It runs as a container or as a systemd service. The same renewal is a library inside each [SDK](https://widar.com/docs/sdks)
- Keys: A software keystore for level 1, or your HSM through PKCS#11 for level 2
- Talks to: `acme.widar.com` or `est.widar.com`, and `api.widar.com` for its health report
- Sends: The certificate request, the challenge answers, its version and its health. Never a private key

## What it does

1. Makes a new key for each certificate, in the keystore or the HSM you name.
2. Answers the domain challenge: it serves the file itself, or runs your DNS hook.
3. Gets the certificate over ACME, or over EST, and writes the chain where the plugins and the sidecar read it.
4. Reloads them, so the next output is signed under the new certificate.
5. 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](https://widar.com/contact) 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.

**renew.toml**

```toml
# /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

**Start and check**

systemd:

```bash
sudo systemctl enable --now widar-renew
widar-renew status
```

Docker:

```bash
docker run -d --name widar-renew --restart unless-stopped \
  -v /etc/widar:/etc/widar -v widar-renew:/var/lib/widar-renew \
  -e WIDAR_EAB_KID -e WIDAR_EAB_HMAC_KEY -p 80:80 \
  "$WIDAR_RENEW_IMAGE"
```

Status:

```
$ widar-renew status
widar-renew 1.2.1, reporting to widar as rda_4Wq7tLm2NcXe

CERTIFICATE        DOMAIN                    EXPIRES      NEXT RENEWAL   KEY
crt_1Rw6mYb3QsNa   image.lumenlabs.example   2027-01-17   2026-12-18     pkcs11 (level 2)
```

A 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](https://widar.com/docs/certificates/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`.

API:

```bash
curl -X GET https://api.widar.com/v1/renewal_agents \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar renewal-agents list
```

MCP tool `renewal_agents_list`:

```json
{
  "name": "renewal_agents_list",
  "arguments": {}
}
```

Every parameter and the full answer: [List renewal daemons](https://widar.com/docs/certificates#list-renewal-daemons).
