GET
/
cdn
/
sslCertificates
Get trusted CA certificates list
curl --request GET \
  --url https://api.gcore.com/cdn/sslCertificates \
  --header 'Authorization: <api-key>'
[
  {
    "id": 1,
    "name": "Example CA certificate",
    "deleted": true,
    "cert_issuer": "example.com",
    "cert_subject_cn": "example.com",
    "cert_subject_alt": "DNS:example.com",
    "validity_not_before": "2020-06-26T12:03:53Z",
    "validity_not_after": "2021-06-26T12:03:53Z",
    "sslCertificateChain": "",
    "hasRelatedResources": false
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

automated
boolean

How the certificate was issued.

Possible values:

  • true – Certificate was issued automatically.
  • false – Certificate was added by a user.
validity_not_after_lte
string

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

Response will contain certificates valid until the specified time.

resource_id
integer

CDN resource ID for which the certificates are requested.

Response

200 - application/json

Successful.

id
integer

CA certificate ID.

Example:

1

name
string

CA certificate name.

Example:

"Example CA certificate"

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.
Example:

true

cert_issuer
string

Name of the certification center that issued the CA certificate.

Example:

"example.com"

cert_subject_cn
string

Domain name that the CA certificate secures.

Example:

"example.com"

cert_subject_alt
string

Alternative domain names that the CA certificate secures.

Example:

"DNS:example.com"

validity_not_before
string

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

Example:

"2020-06-26T12:03:53Z"

validity_not_after
string

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

Example:

"2021-06-26T12:03:53Z"

sslCertificateChain
string

Parameter is deprecated.

Example:

""

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:

false