---
title: "Request Temps to issue an ACME certificate for a discovered route (Path A)."
method: POST
path: "/traefik-discovery/routes/{host}/certificate"
tags: ["Traefik Discovery"]
---

# Request Temps to issue an ACME certificate for a discovered route (Path A).

`POST /traefik-discovery/routes/{host}/certificate`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/traefik-discovery/routes/{host}/certificate`
- Auth: HTTP bearer

The operator explicitly authorizes issuance; `cert_eligible` stays `false`
so the container's own labels can never trigger this. Both `SettingsWrite`
and `DomainsCreate` are required: `SettingsWrite` is Admin/PlatformAdmin
only, so any caller reaching this endpoint is already an administrator.

The authorization is recorded against the container identity currently
serving the host (§2a). Container drift after authorization fires a Critical
alarm but does not auto-clear `cert_authorized` — auto-clearing would not
remove the certificate and would be a DoS primitive (ADR-041 §2a).

## Path parameters

- `host` string, required

## Request body

- RequestDiscoveredRouteCertRequest: Request body for Path A: operator-triggered ACME issuance.
  - `acknowledge_manual_dns_renewal` boolean: Must be `true` when `challenge_type` is `"dns-01"` and no verified `auto_manage` zone covers this host. Lets the operator confirm they know renewal will require manual DNS updates.
  - `challenge_type` string, required: `"http-01"` or `"dns-01"`. Required — no silent default.

## Response `201`

TLS authorization created and ACME challenge initiated

## Other responses

- `400`: Validation error (e.g. unsupported challenge_type)
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: No discovered route for that host
- `409`: Host owned by another resource, or verification_method conflict
- `422`: Certificate validation failed
- `500`: Internal server error
- `502`: TLS provisioner error (ACME upstream failure)

## Changes

- **2026-11-09** `12896146b193`: 8 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - …4 more
- **2026-10-05** `4b228ebed583`: 8 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `404` status
  - …4 more
- **2026-10-05** `63a80791dc58`: 8 warning
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `404` status
  - …4 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/traefik-discovery/routes/:host/certificate/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
