SSL certificates

Get SSL certificate details

Changed on
get/cdn/sslData/{ssl_id}

Request

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

Path parameters

ssl_idinteger required

SSL certificate ID.

Response

Successful.

idinteger

SSL certificate ID.

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 issued the SSL certificate.

cert_subject_cnstring nullable

Domain name that the SSL certificate secures.

cert_subject_altstring nullable

Alternative domain names that the SSL certificate secures.

validity_not_beforestring date-time nullable

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

validity_not_afterstring date-time nullable

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

sslCertificateChainstring nullable

Parameter is deprecated.

hasRelatedResourcesboolean

Defines whether the SSL certificate is used by a CDN resource or an alias.

Possible values:

  • true - Certificate is used by a CDN resource or an alias.
  • false - Certificate is not used by a CDN resource or an alias.
namestring

SSL certificate name.

automatedboolean

How the SSL certificate was issued.

Possible values:

  • true - Certificate was issued automatically.
  • false - Certificate was added by a user.

Example response

{
  "id": 42,
  "cert_issuer": "Example CA",
  "cert_subject_cn": "example.com",
  "cert_subject_alt": "DNS:example.com,DNS:www.example.com",
  "validity_not_before": "2026-01-01T00:00:00Z",
  "validity_not_after": "2027-01-01T00:00:00Z",
  "hasRelatedResources": true,
  "name": "Example 1"
}

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

    • 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