---
title: "AddTrustedHttpsCertificateAsync"
method: POST
path: "/v2/pki/https/certs"
tags: ["Certificates"]
---

# AddTrustedHttpsCertificateAsync

`POST /v2/pki/https/certs`

Add a certificate chain to the trusted https store. The certificate is provided as a concatenated set of certificates with the first the one to add, and the remainder the issuer chain.

## Request body

- string, byte

## Response `200`

Success

## Changes

- **2023-10-05** `ae55786fe9e3` — 1 info
  - endpoint added
- **2023-05-02** `e285a38b6ca1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/opcpublisher/changes/v2/pki/https/certs/post.md)

---

[API](https://skmtc.dev/azure/apis/opcpublisher.md) · [All operations](https://skmtc.dev/azure/apis/opcpublisher/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/opcpublisher/revisions/06c2bcdfa112/schema)
