CA certificates

Change trusted CA certificate

Changed on
put/cdn/sslCertificates/{id}

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cdn/sslCertificates/{id}
  • Auth
    HTTP apikey

Path parameters

idinteger required

CA certificate ID.

Request body

namestring required

CA certificate name.

It must be unique.

Example request

{
  "name": "Example CA cert 2"
}

Response

Successful.

idinteger

CA certificate ID.

namestring

CA certificate name.

deletedboolean

Defines whether the certificate has been deleted.

Possible values:

  • true - Certificate has been deleted.
  • false - Certificate has not been deleted.
cert_issuerstring nullable

Name of the certification center that issued the CA certificate.

cert_subject_cnstring nullable

Domain name that the CA certificate secures.

cert_subject_altstring nullable

Alternative domain names that the CA certificate secures.

validity_not_beforestring date-time

Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)

validity_not_afterstring date-time

Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)

sslCertificateChainstring

Parameter is deprecated.

hasRelatedResourcesboolean

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.

Example response

{
  "id": 1,
  "name": "Example CA certificate",
  "cert_issuer": "Example CA",
  "cert_subject_cn": "Example CA",
  "validity_not_before": "2026-01-01T00:00:00Z",
  "validity_not_after": "2036-01-01T00:00:00Z"
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      response property deleted deprecated