---
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.

---

[API](https://skmtc.net/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.net/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsimple/dnsimple-api/revisions/270bb4f6f532/schema)
