GET
/
cdn
/
sslCertificates
/
{id}
Get trusted CA certificate details
curl --request GET \
  --url https://api.gcore.com/cdn/sslCertificates/{id} \
  --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-26 12:03:53+00:00",
  "validity_not_after": "2021-06-26 12:03:53+00:00",
  "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

Path Parameters

id
integer
required

CA certificate ID.

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-26 12:03:53+00:00"

validity_not_after
string

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

Example:

"2021-06-26 12:03:53+00:00"

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