---
title: "GET /domains/{domain_id}/certificate-settings"
method: GET
path: "/domains/{domain_id}/certificate-settings"
tags: ["Domains"]
---

# GET /domains/{domain_id}/certificate-settings

`GET /domains/{domain_id}/certificate-settings`

## Request

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

## Path parameters

- `domain_id` integer, required

## Response `200`

- DomainCertificateSettingsResponse: Policy for future certificate orders. Saving it never changes the serving certificate.
  - `alert_days` integer, nullable: Override the instance SSL expiry warning threshold; null inherits it.
  - `alerts_enabled` boolean, nullable: Override instance SSL expiry alerts; null inherits it.
  - `challenge_type` string, required: Validation method for future ACME orders. Saving this does not convert an imported certificate to ACME.
  - `renewal_days` integer, required: Start ACME renewal this many days before expiry (1–90). Does not schedule renewal of imported certificates.
  - `renewal_mode` 'manual' | 'acme', required: Effective renewal mode of the current certificate. Saving settings does not change it.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Domain not found
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - 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
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-29** `699330f8add6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/domains/:domain_id/certificate-settings/get.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)
