---
title: "POST /api/v1/cert-manager/certificates/import-certificate"
method: POST
path: "/api/v1/cert-manager/certificates/import-certificate"
tags: ["PKI Certificates"]
---

# POST /api/v1/cert-manager/certificates/import-certificate

`POST /api/v1/cert-manager/certificates/import-certificate`

Import certificate

## Request body

- object
  - `certificatePem` string, required — The PEM-encoded leaf certificate.
  - `privateKeyPem` string — Optional PEM-encoded private key associated with the certificate.
  - `chainPem` string — Optional PEM-encoded chain of intermediate certificates.
  - `friendlyName` string — A friendly name for the certificate.
  - `pkiCollectionId` string — The ID of the PKI collection to add the certificate to.
  - `applicationId` string, uuid

## Response `200`

Default Response

- object
  - `certificate` string, required — The imported certificate.
  - `certificateChain` string — The certificate chain associated with the imported certificate. Returned only when a chain was supplied at import.
  - `privateKey` string — The PEM-encoded private key associated with the imported certificate. Returned only when a private key was supplied at import.
  - `serialNumber` string, required — The serial number of the imported certificate.

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/infisical/apis/infisical-api.md) · [All operations](https://skmtc.net/infisical/apis/infisical-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/infisical/infisical-api/versions/885aef3e6c11/schema)
