---
title: "Export certificate"
method: GET
path: "/api/certificates/{certificateId}/export"
tags: ["Certificates"]
---

# Export certificate

`GET /api/certificates/{certificateId}/export`

Exports a certificate, optionally including its CA chain

## Path parameters

- `certificateId` string, required

## Query parameters

- `format` 'PEM' | 'DER'
- `includeChain` boolean

## Response `200`

Certificate exported successfully

## Changes

- **2026-08-24** `c7fdedb4e501` — 1 info
  - endpoint added
- **2026-08-18** `87fa588c6b1b` — 1 breaking
  - api path removed without deprecation
- **2026-08-10** `a5458a493e76` — 1 info
  - endpoint added
- **2026-07-28** `9a6250881fa7` — 1 breaking
  - api path removed without deprecation
- **2026-07-28** `6c9a9144ca23` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/optimistiksas/apis/oibus-api/changes/api/certificates/:certificateId/export/get.md)

---

[API](https://skmtc.dev/optimistiksas/apis/oibus-api.md) · [All operations](https://skmtc.dev/optimistiksas/apis/oibus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optimistiksas/oibus-api/revisions/c7fdedb4e501/schema)
