---
title: "Download certificate"
method: GET
path: "/v1/ssl/certificates/{cert_id}/download"
tags: ["SSL"]
---

# Download certificate

`GET /v1/ssl/certificates/{cert_id}/download`

## Request

- Base URL: `https://developers.servera.co.uk`
- URL: `https://developers.servera.co.uk/v1/ssl/certificates/{cert_id}/download`
- Auth: HTTP bearer

Download the issued certificate. `format=pem` returns the fullchain (and the private
key, if we hold it). `format=pfx` returns a base64 **PKCS#12 / .pfx** bundle for
Windows / IIS (optional `password`) — available only when Servera holds the private key
(i.e. you did not supply your own CSR).

## Path parameters

- `cert_id` integer, required

## Query parameters

- `format` 'pem' | 'pfx'
- `password` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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