---
title: "Upload a certificate"
method: POST
path: "/certificates"
tags: ["Certificates"]
---

# Upload a certificate

`POST /certificates`

Upload a certificate to the OpenEVSE. The certificate can be used to authenticate the OpenEVSE to the MQTT
broker, provide a secure web interface or as additional root CA certificates.

## Request body

- CertificateYaml — unresolved $ref

## Response `200`

Update successful

- Message
  - `msg` string — The message

## Other responses

- `400` — Example response

## Changes

- **2023-11-16** `1de458404502` — 1 info
  - endpoint added
- **2023-09-26** `a37c27e4b895` — 1 breaking
  - api path removed without deprecation
- **2023-07-27** `b6fa2d9c4548` — 1 info
  - endpoint added
- **2023-07-21** `143139f48c58` — 1 breaking
  - api path removed without deprecation
- **2023-07-02** `f826914c5534` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/openevse/apis/openevse-wifi-api/changes/certificates/post.md)

---

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