---
title: "Download a certificate"
method: GET
path: "/{account}/domains/{domain}/certificates/{certificate}/download"
tags: ["domain certificates"]
---

# Download a certificate

`GET /{account}/domains/{domain}/certificates/{certificate}/download`

Gets the PEM-encoded certificate, along with the root certificate and intermediate chain.

## Path parameters

- `account` integer, required
- `domain` string, required
- `certificate` integer, required

## Response `200`

Successfully retrieved the certificate.

- object
  - `data` CertificateDownload, required
    - `server` string, required
    - `root` string, nullable, required
    - `chain` string[], required

## Other responses

- `404` — The requested resource doesn't exist.

## Changes

- **2025-07-11** (v2) `06780be0ef17` — 5 info
  - the response property `data` became required for the status `200`
  - the response property `data/chain` became required for the status `200`
  - the response property `data/root` became required for the status `200`
  - the response property `data/server` became required for the status `200`
  - …1 more
- **2023-07-18** (v2) `c8591dcf8c29` — 6 breaking
  - the response property `data/root` became nullable for the status `200`
  - the response property `data` became optional for the status `200`
  - the response property `data/chain` became optional for the status `200`
  - the response property `data/root` became optional for the status `200`
  - …2 more

[Change history](https://skmtc.dev/dnsimple/apis/dnsimple-api/changes/:account/domains/:domain/certificates/:certificate/download/get.md)

---

[API](https://skmtc.dev/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.dev/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dnsimple/apis/dnsimple-api/revisions/faec8b49cc03?raw)
