---
title: "Lint a Certificate"
method: POST
path: "/lintcert"
tags: ["cert"]
---

# Lint a Certificate

`POST /lintcert`

Lints a X.509 certificate

## Response `200`

The response for the specified linting request

- LintFinding[]
  - `Linter` string, required — The name of the linter that reported the finding
  - `Finding` string, required — A textual description of the finding
  - `Severity` 'meta' | 'debug' | 'info' | 'notice' | 'warning' | 'error' | 'bug' | 'fatal', required — The severity of a linter finding
  - `Code` string — A unique identifier for the finding
  - `Field` string — The field within the document that is applicable to the finding

## Other responses

- `400` — Invalid request (e.g., empty body, unrecognised input/profile/severity/format)

## Changes

- **2026-07-17** `78f44e0bcd55` — 1 info
  - added the non-success response with the status `400`
- **2024-10-17** `447623a32013` — 1 info
  - api tag `cert` added
- **2024-10-16** `fb38ac83403f` — 1 info
  - api operation id `lintcert` was added
- **2024-08-22** `4626613d079c` — 3 info
  - api operation id `lintcert` removed and replaced with ``
  - api tag `cert` removed
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/pkimetal/apis/pkimetal-api/changes/lintcert/post.md)

---

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