All Products
Search
Document Center

CDN:DescribeCdnSSLCertificateList

Last Updated:Nov 29, 2024

Queries the certificate list by domain name.

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:DescribeCdnSSLCertificateListget
*Domain
acs:cdn:*:{#accountId}:domain/{#DomainName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringNo

The accelerated domain name. You can specify only one domain name in each request.

www.example.com
PageNumberlongNo

The page number. Default value: 1.

1
PageSizelongNo

The number of entries per page. Valid values: an integer from 1 to 1000.

20
SearchKeywordstringNo

The keyword that is used to query the certificate.

certabc

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

E9D3257A-1B7C-414C-90C1-8D07AC47BCAC
CertificateListModelobject

The list of certificates.

Countinteger

The number of certificates.

2
CertListarray<object>

Details about each certificate.

Certobject
LastTimelong

The time when the certificate was last modified. Unit: milliseconds.

1679896965
Fingerprintstring

The fingerprint of the certificate.

933c6ddee95c9c41a40f9f50493d82be03ad87bf
CertNamestring

The name of the certificate.

yourCertName
Issuerstring

The certificate authority (CA) that issued the certificate.

yourCertIssuer
CertIdlong

The ID of the certificate.

9128192
Commonstring

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

example.com
CertRegionstring

The region ID of the certificate. Valid values: cn-hangzhou and ap-southeast-1. Default value: cn-hangzhou.

cn-hangzhou
PageNumberlong

The page number. Pages start from page 1. Default value: 1.

2
PageSizelong

The number of entries per page. Valid values: an integer from 1 to 1000.

20

Examples

Sample success responses

JSONformat

{
  "RequestId": "E9D3257A-1B7C-414C-90C1-8D07AC47BCAC",
  "CertificateListModel": {
    "Count": 2,
    "CertList": {
      "Cert": [
        {
          "LastTime": 1679896965,
          "Fingerprint": "933c6ddee95c9c41a40f9f50493d82be03ad87bf",
          "CertName": "yourCertName",
          "Issuer": "yourCertIssuer",
          "CertId": 9128192,
          "Common": "example.com",
          "CertRegion": "cn-hangzhou"
        }
      ]
    },
    "PageNumber": 2,
    "PageSize": 20
  }
}

Error codes

HTTP status codeError codeError messageDescription
400NotFoundCertListThe certList is null.The certificate list is empty.

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

Change history

Change timeSummary of changesOperation
2024-11-25The Error code has changedView Change Details