SSL certificates

Get SSL certificate usage

Changed on

Get list of CDN resources and aliases that are using this SSL certificate.

This endpoint is useful to check which resources and aliases depend on a certificate before renewing, modifying, or deleting it.

get/cdn/sslData/{cert_id}/usage

Request

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

Path parameters

cert_idinteger required

SSL certificate ID.

Response

Successful.

Example response

{
  "resources": [
    {
      "id": 101,
      "cname": "api.example.com",
      "status": "active"
    }
  ],
  "aliases": [
    {
      "id": 201,
      "cname": "shop.example.com",
      "status": "active"
    }
  ]
}

Changes

    • warning

      added the new http_only enum value to the // response property for the response status

    • info

      removed the ssl_error enum value from the // response property for the response status

    • info

      removed the ssl_issuing enum value from the // response property for the response status

    • info

      added the required property to the response with the status