---
title: "Upload or replace the account's trusted CA certificate"
method: PUT
path: "/account/ca-certificate/"
tags: ["Account"]
---

# Upload or replace the account's trusted CA certificate

`PUT /account/ca-certificate/`

## Request

- Base URL: `https://api.probely.com`
- URL: `https://api.probely.com/account/ca-certificate/`
- Auth: API key in header `Authorization`

Uploads a PEM file containing the account's Certificate Authority,
so certificates issued by it are no longer reported as untrusted.
The file may contain more than one certificate, for example a root
and an issuing authority.

Uploading replaces any certificate already configured. Requires the
Account Settings permission.

## Request body `multipart/form-data`

- AccountCACertificateUpload: Serializer for PUT /account/ca-certificate/. Handles multipart/form-data with a single PEM file.
  - `certificate` string, uri, required: A PEM file containing your Certificate Authority certificate. It may contain more than one certificate, for example a root and an issuing authority.

## Response `200`

- AccountCACertificate: Serializer for GET /account/ca-certificate/.
  - `configured` boolean, required: Indicates if a Certificate Authority is configured for the account.
  - `certificates` unknown[], required: The certificates found in the uploaded file, in the order supplied. A two-tier internal PKI supplies a root and an issuing authority.
    - unknown
  - `changed` string, date-time, required
  - `changed_by` string, required

## Other responses

- `400`
- `401`
- `403`

## Changes

- **2026-11-03** `0b2f6cbe644d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/account/ca-certificate/put.md)

---

[API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [All operations](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/revisions/0b2f6cbe644d?raw)
