---
title: "Lint a to-be-signed Certificate"
method: POST
path: "/linttbscert"
tags: ["cert"]
---

# Lint a to-be-signed Certificate

`POST /linttbscert`

Creates and lints a X.509 certificate from the specified TBSCertificate

## 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)

---

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