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

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

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

## Request body

- object
  - `profileId` string, uuid, required
  - `applicationId` string, uuid
  - `csr` string
  - `attributes` object
    - `commonName` string, nullable
    - `organization` string, nullable
    - `organizationalUnit` string, nullable
    - `country` string, nullable
    - `state` string, nullable
    - `locality` string, nullable
    - `domainComponents` string[], nullable
    - `keyUsages` string[]
    - `extendedKeyUsages` string[]
    - `altNames` object[]
      - `type` 'dns_name' | 'ip_address' | 'email' | 'uri' | 'upn', required
      - `value` string, required
    - `signatureAlgorithm` 'RSA-SHA256' | 'RSA-SHA384' | 'RSA-SHA512' | 'ECDSA-SHA256' | 'ECDSA-SHA384' | 'ECDSA-SHA512' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | 'SLH-DSA-SHA2-128f' | 'SLH-DSA-SHA2-128s' | 'SLH-DSA-SHA2-192f' | 'SLH-DSA-SHA2-192s' | 'SLH-DSA-SHA2-256f' | 'SLH-DSA-SHA2-256s' | 'SLH-DSA-SHAKE-128f' | 'SLH-DSA-SHAKE-128s' | 'SLH-DSA-SHAKE-192f' | 'SLH-DSA-SHAKE-192s' | 'SLH-DSA-SHAKE-256f' | 'SLH-DSA-SHAKE-256s'
    - `keyAlgorithm` 'RSA_2048' | 'RSA_3072' | 'RSA_4096' | 'EC_prime256v1' | 'EC_secp384r1' | 'EC_secp521r1' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | 'SLH-DSA-SHA2-128f' | 'SLH-DSA-SHA2-128s' | 'SLH-DSA-SHA2-192f' | 'SLH-DSA-SHA2-192s' | 'SLH-DSA-SHA2-256f' | 'SLH-DSA-SHA2-256s' | 'SLH-DSA-SHAKE-128f' | 'SLH-DSA-SHAKE-128s' | 'SLH-DSA-SHAKE-192f' | 'SLH-DSA-SHAKE-192s' | 'SLH-DSA-SHAKE-256f' | 'SLH-DSA-SHAKE-256s'
    - `ttl` string
    - `notBefore` string
    - `notAfter` string
    - `basicConstraints` object
      - `isCA` boolean, required
      - `pathLength` integer
  - `removeRootsFromChain` union
    - boolean
    - string
  - `metadata` object[]
    - `key` string, required
    - `value` string

## Response `200`

Default Response

- object
  - `certificate` object, nullable, required
    - `certificate` string, required
    - `issuingCaCertificate` string, required
    - `certificateChain` string, required
    - `privateKey` string
    - `serialNumber` string, required
    - `certificateId` string, required
  - `certificateRequestId` string, required
  - `status` 'pending_approval' | 'pending' | 'pending_validation' | 'issued' | 'failed' | 'rejected'
  - `message` string

## 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/revisions/885aef3e6c11/schema)
