# GET /panel/certificate

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the certificates group.

Get the TLS certificate status for the UrbeStack web interface

- Who may call it: administrator
- Token scope, any of: certificates, read, all
- Answers: 200 OK

Returns the configured hostname in host, the certificate record in certificate, the pre-issuance DNS check in points_here, the certificate nginx serves in current, and the nightly renewal schedule in renew. The certificate field is null if no record exists, including before the first certificate request.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/panel/certificate" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "certificate": {
    "attempts": 1,
    "challenge": "http",
    "created_at": "2026-09-09T10:15:00Z",
    "domain": "example.com",
    "fingerprint": "text",
    "issuer": "text",
    "kind": "auto",
    "last_attempt_at": "text",
    "last_error": "text",
    "name": "alice",
    "names": [
      "text"
    ],
    "not_after": "text",
    "not_before": "text",
    "panel": true,
    "self_signed": true,
    "status": "pending",
    "updated_at": "text",
    "user": "alice"
  },
  "current": {
    "file": "urbestack-panel-20260909T101500Z.json.enc",
    "fingerprint": "text",
    "issuer": "text",
    "not_after": "text",
    "not_before": "text",
    "self_signed": true
  },
  "host": "text",
  "points_here": {
    "address": "info@example.com",
    "answer": "yes",
    "ours": [
      "text"
    ],
    "reason": "text",
    "resolves_to": [
      "text"
    ]
  },
  "renew": {
    "at": "text",
    "days": 1,
    "within_minutes": 1
  }
}
```

## Errors

- 401: Authentication required
