---
title: "POST /cacert"
method: POST
path: "/cacert"
tags: ["Authentication"]
---

# POST /cacert

`POST /cacert`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/cacert`
- Auth: none declared
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/cacert/post.ts> (a function with typed inputs; its response is checked against the schema)

Add the certificate of the certificate Authority in REST server's trusted store.

## Request body

- CaCertRequest
  - `content` string, required: The contents of the CA certificate.

## Response `200`

Successfully added the CA certificate in server's trusted store.

- CaCertResponse
  - `certId` string: The unique Id of the CA certificate.
  - `name` string: The name of the CA certificate.
  - `content` string: The contents of the CA certificate.

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
