---
title: "Change trusted CA certificate"
method: PUT
path: "/cdn/sslCertificates/{id}"
tags: ["CA certificates"]
---

# Change trusted CA certificate

`PUT /cdn/sslCertificates/{id}`

## Path parameters

- `id` integer, required

## Request body

- SslCaChange
  - `name` string, required — CA certificate name. It must be unique.

## Response `200`

Successful.

- SslCaResponse
  - `id` integer — CA certificate ID.
  - `name` string — CA certificate name.
  - `deleted` boolean — Defines whether the certificate has been deleted. Parameter is **deprecated**. Possible values: - **true** - Certificate has been deleted. - **false** - Certificate has not been deleted.
  - `cert_issuer` string — Name of the certification center that issued the CA certificate.
  - `cert_subject_cn` string — Domain name that the CA certificate secures.
  - `cert_subject_alt` string — Alternative domain names that the CA certificate secures.
  - `validity_not_before` string — Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
  - `validity_not_after` string — Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
  - `sslCertificateChain` string — Parameter is **deprecated**.
  - `hasRelatedResources` boolean — Defines whether the CA certificate is used by a CDN resource. Possible values: - **true** - Certificate is used by a CDN resource. - **false** - Certificate is not used by a CDN resource.

---

[API](https://skmtc.net/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.net/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
