All Products
Search
Document Center

CDN:DescribeCdnSSLCertificateList

Last Updated:Mar 28, 2024

Queries the certificate list by domain name.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

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
CertListobject []

Details about each certificate.

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.