# ACME and EST

> 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/acme-and-est

Get and renew widar certificates with any ACME client, as RFC 8555 sets out, or over EST. Bind an ACME account to a system once, answer dns-01 or http-01, and finalize with a request made on your side.

Updated December 3, 2026

Certificate automation

- ACME directory: `https://acme.widar.com/directory` (RFC 8555)
- EST: `https://est.widar.com/.well-known/est/<label>` (RFC 7030), one label per system
- Account binding: An External Account Binding: a key id and a MAC key, shown once
- Challenges: `dns-01` and `http-01`
- Keys: Made by your client for every order. widar never receives a private key
- Price: Free, with or without a plan. Rate-limited per account

## ACME

Any ACME client that supports External Account Binding gets a C2PA claim signing certificate from widar the way it gets a TLS certificate elsewhere. The binding fixes the system, the certificate kind and the assurance level, so an order only names the system's domain.

## Create a binding for the system

The answer holds `eab_kid` and `eab_hmac_key`, shown this once. Keep them in your secret store.

API:

```bash
curl -X POST https://api.widar.com/v1/systems/sys_4kT9qWm2RbXe/enrolment_tokens \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "purpose": "acme",
    "label": "Renewal daemon on the HSM host"
  }'
```

CLI:

```bash
widar enrolment-tokens create sys_4kT9qWm2RbXe \
  --purpose acme \
  --label 'Renewal daemon on the HSM host'
```

MCP tool `enrolment_tokens_create`:

```json
{
  "name": "enrolment_tokens_create",
  "arguments": {
    "system_id": "sys_4kT9qWm2RbXe",
    "purpose": "acme",
    "label": "Renewal daemon on the HSM host"
  }
}
```

TypeScript:

```typescript
// Client: widar's TypeScript SDK, provided with your workspace

const widar = new Client(); // reads WIDAR_API_KEY
const result = await widar.enrolmentTokens.create("sys_4kT9qWm2RbXe", {
  purpose: "acme",
  label: "Renewal daemon on the HSM host",
});
```

Python:

```python
# Client: widar's Python SDK, provided with your workspace

widar = Client()  # reads WIDAR_API_KEY
result = widar.enrolment_tokens.create(
    "sys_4kT9qWm2RbXe",
    purpose="acme",
    label="Renewal daemon on the HSM host",
)
```

Go:

```go
client := widar.NewClient() // reads WIDAR_API_KEY
result, err := client.EnrolmentTokens.Create(ctx, "sys_4kT9qWm2RbXe", &widar.EnrolmentTokensCreateParams{
	Purpose: "acme",
	Label:   "Renewal daemon on the HSM host",
})
if err != nil {
	return err
}
```

Rust:

```rust
let client = widar::Client::from_env()?; // reads WIDAR_API_KEY
let result = client
    .enrolment_tokens()
    .create("sys_4kT9qWm2RbXe".into(), widar::enrolment_tokens::CreateParams {
        purpose: "acme".into(),
        label: "Renewal daemon on the HSM host".into(),
        ..Default::default()
    })
    .await?;
```

## Order the certificate

Register the account with the binding and order a certificate for the system's domain. Your client makes the key and the request.

certbot:

```bash
certbot certonly --server https://acme.widar.com/directory \
  --eab-kid "$WIDAR_EAB_KID" --eab-hmac-key "$WIDAR_EAB_HMAC_KEY" \
  --key-type ecdsa --elliptic-curve secp256r1 \
  --preferred-challenges http -d image.lumenlabs.example \
  --cert-name lumen-image-c2pa
```

lego:

```bash
lego --server https://acme.widar.com/directory \
  --eab --kid "$WIDAR_EAB_KID" --hmac "$WIDAR_EAB_HMAC_KEY" \
  --email tobias.kruger@lumenlabs.example --key-type ec256 \
  --http --domains image.lumenlabs.example run
```

widar-renew:

```bash
widar-renew enrol --system sys_4kT9qWm2RbXe --domain image.lumenlabs.example \
  --eab-kid "$WIDAR_EAB_KID" --eab-hmac-key "$WIDAR_EAB_HMAC_KEY"
```

## Renew every 30 days

Each renewal is a new order with a new key. Run your client's renewal on a schedule; with 60-day certificates it renews at the halfway point.

certbot:

```bash
certbot renew --cert-name lumen-image-c2pa
```

lego:

```bash
lego --server https://acme.widar.com/directory --http \
  --domains image.lumenlabs.example renew --days 30
```

**An ACME binding**

```json
{
  "id": "enr_6Nh3cTq9WxLp",
  "object": "enrolment_token",
  "purpose": "acme",
  "system_id": "sys_4kT9qWm2RbXe",
  "label": "Renewal daemon on the HSM host",
  "endpoint": "https://acme.widar.com/directory",
  "eab_kid": "kid_Lm4Qx8RtVn2c",
  "eab_hmac_key": "b3Vy9KqT2mXcR7nWd4LpHs8ZyJe1UgQ6AfKo3MiEtSn",
  "created_at": "2026-12-03T09:42:00Z",
  "created_by": "Tobias Krüger",
  "expires_at": "2026-12-04T09:42:00Z"
}
```

### What an order goes through

ACME resources

| Resource | What widar does |
| --- | --- |
| `newAccount` | Requires the External Account Binding. The account belongs to the binding's system from then on. |
| `newOrder` | Takes one `dns` identifier: the system's domain. |
| Authorisation | `dns-01`: a TXT record at `_acme-challenge.<domain>`. `http-01`: a file at `/.well-known/acme-challenge/<token>`. A passed authorisation also validates the workspace's [domain](https://widar.com/docs/certificates/domains). |
| `finalize` | Takes a PKCS#10 request made on your side, then issues the certificate, logs it and sends `certificate.issued`. |
| `revokeCert` | The same revocation as [Revoke a certificate](https://widar.com/docs/certificates#revoke-a-certificate). |

## EST

A sidecar, a self-hosted install or a device can request and renew over EST at `est.widar.com`, one label per system. `simpleenroll` takes a one-time [enrolment token](https://widar.com/docs/certificates#create-an-acme-or-est-credential) with `purpose: est`; `simplereenroll` authenticates with the current certificate over TLS. EST carries no domain challenge, so a `simplereenroll` passes only while the certificate's domain validates again; otherwise it is refused and `domain.validation_failed` is sent.

EST endpoints

| Call | What it does |
| --- | --- |
| `GET /.well-known/est/{label}/cacerts` | The issuing CA's certificates. |
| `POST /.well-known/est/{label}/simpleenroll` | A first certificate, for a PKCS#10 request. |
| `POST /.well-known/est/{label}/simplereenroll` | The next certificate, every 30 days, with a new key. |

**Enrol with an EST client**

```bash
openssl req -new -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes \
  -keyout lumen-image.key -subj "/CN=Lumen Image/O=Lumen Labs B.V./C=NL" \
  -outform DER | base64 > lumen-image.csr.b64

curl -X POST https://est.widar.com/.well-known/est/lumen-image/simpleenroll \
  -H "Authorization: Bearer enr_a4dWhi0YOs9H93ZzWj2hX4k5pg8BcAsR" \
  -H "Content-Type: application/pkcs10" \
  --data-binary @lumen-image.csr.b64 -o lumen-image.p7
```

## Which to use

Ways to renew

| You run | Use |
| --- | --- |
| The sidecar, a plugin or the self-hosted edition | Nothing more: they renew their own certificate, or take it from the renewal daemon on the same host. |
| Your own HSM or keystore on a server | The [renewal daemon](https://widar.com/docs/certificates/renewal-daemon), over ACME. |
| An ACME client already | Point it at `https://acme.widar.com/directory` with a binding. |
| Your own code | An [SDK](https://widar.com/docs/sdks), which renews as a library, or `widar certificates renew --all` from a scheduler. |
| A device or an appliance | EST. |

Every way ends in the same issuance as `POST https://api.widar.com/v1/certificates`: the legal entity, the domain and the system validated, the certificate logged, `certificate.issued` sent. Your key stays in `WIDAR_API_KEY`, never in a command line.
