All Products
Search
Document Center

CDN:DescribeCdnCertificateList

Last Updated:Jan 02, 2025

Queries the certificates of accelerated domain names.

Operation description

Note You can call this operation up to 30 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeCdnCertificateListget
*Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringNo

The accelerated domain name. Separate multiple accelerated domain names with commas (,).

If you do not specify an accelerated domain name, SSL certificates of all your accelerated domain names are queried.

example.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

FC0E34AC-0239-44A7-AB0E-800DE522C8DA
CertificateListModelobject

Details about certificates.

Countinteger

The number of certificates that are returned.

2
CertListarray<object>

The list of certificates.

Certobject
LastTimelong

The timestamp.

1512388610
Fingerprintstring

The fingerprint of the certificate.

2ED68FD33786C5B42950D40A6C50353575BB****
CertNamestring

The name of the certificate.

Certificate1
Issuerstring

The certificate authority (CA) that issued the certificate.

CO****
CertIdlong

The ID of the certificate.

1
Commonstring

The Common Name (CN) attribute of the certificate. In most cases, the CN is a domain name.

example.com

Examples

Sample success responses

JSONformat

{
  "RequestId": "FC0E34AC-0239-44A7-AB0E-800DE522C8DA",
  "CertificateListModel": {
    "Count": 2,
    "CertList": {
      "Cert": [
        {
          "LastTime": 1512388610,
          "Fingerprint": "2ED68FD33786C5B42950D40A6C50353575BB****",
          "CertName": "Certificate1\n",
          "Issuer": "CO****",
          "CertId": 1,
          "Common": "example.com"
        }
      ]
    }
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-12-18API Description Update. The Error code has changedView Change Details
2024-11-25The Error code has changedView Change Details
2023-10-10The API operation is deprecatedView Change Details