All Products
Search
Document Center

CDN:DescribeDomainCertificateInfo

Last Updated:Oct 10, 2026

Queries the certificate information of a specified accelerated domain name.

Operation description

Note

Rate limit per user: 100 calls per second.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeDomainCertificateInfo

get

*Domain

acs:cdn:*:{#accountId}:domain/{#DomainName}

None None

Request parameters

Parameter

Type

Required

Description

Example

DomainName

string

Yes

The accelerated domain name. Only a single domain name is supported.

example.com

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

5C1E43DC-9E51-4771-82C0-7D5ECEB547A1

CertInfos

object

CertInfo

array<object>

The list of certificate information.

object

CertExpireTime

string

The expiration time of the certificate. The time is in the ISO 8601 format and displayed in UTC.

2018-06-03T22:03:39Z

CertLife

string

The unit of the certificate validity period. Valid values:

  • months: months

  • years: years

months

Status

string

The certificate status. Valid values:

  • success: The certificate is in effect.

  • checking: The system is checking whether the domain name is added to Content Delivery Network (CDN).

  • cname_error: The domain name is not resolved to Content Delivery Network (CDN).

  • top_domain_cname_error: The top-level domain name is not resolved to Content Delivery Network (CDN).

  • domain_invalid: The domain name contains invalid characters.

  • unsupport_wildcard: Wildcard domain names are not supported.

  • applying: The certificate application is in progress.

  • get_token_timeout: The certificate application timed out.

  • check_token_timeout: The verification timed out.

  • get_cert_timeout: Obtaining the certificate timed out.

  • failed: The certificate application failed.

success

CertUpdateTime

string

The update time of the certificate. The time is in the ISO 8601 format and displayed in UTC.

2018-06-03T22:03:39Z

CertDomainName

string

The domain name matched by the certificate.

example.com

ServerCertificateStatus

string

The enabling status of HTTPS. Valid values:

  • on: HTTPS is enabled.

  • off: HTTPS is disabled.

on

CertOrg

string

The name of the CA that issued the certificate.

Let's Encrypt

DomainName

string

The accelerated domain name.

example.com

CertStartTime

string

The start time of the certificate. The time is in the ISO 8601 format and displayed in UTC.

2018-06-03T22:03:39Z

CertType

string

The certificate type. Valid values:

  • free: Free certificate.

  • cas: SSL Certificates Service certificate.

  • upload: Custom uploaded certificate.

free

CertName

string

The certificate name.

example.com

DomainCnameStatus

string

The CNAME status of the domain name. Valid values:

  • ok: The CNAME record of the domain name is resolved to Content Delivery Network (CDN).

  • cname_error: The CNAME record of the domain name has a fault and is not resolved to Content Delivery Network (CDN).

  • top_domain_cname_error: The CNAME record of the top-level domain name has a fault and is not resolved to Content Delivery Network (CDN).

  • unsupport_wildcard: Wildcard domain names are not supported.

ok

ServerCertificate

string

The public key of the certificate.

asdadaxxxx

CertId

string

The certificate ID.

9002448

CertRegion

string

The certificate region.

cn-hangzhou

Examples

Success response

JSON format

{
  "RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
  "CertInfos": {
    "CertInfo": [
      {
        "CertExpireTime": "2018-06-03T22:03:39Z",
        "CertLife": "months",
        "Status": "success",
        "CertUpdateTime": "2018-06-03T22:03:39Z",
        "CertDomainName": "example.com",
        "ServerCertificateStatus": "on",
        "CertOrg": "Let's Encrypt",
        "DomainName": "example.com",
        "CertStartTime": "2018-06-03T22:03:39Z",
        "CertType": "free",
        "CertName": "example.com",
        "DomainCnameStatus": "ok",
        "ServerCertificate": "asdadaxxxx",
        "CertId": "9002448",
        "CertRegion": "cn-hangzhou"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError The request processing has failed due to internal error.
403 SignatureDoesNotMatch The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.