Queries SSL certificates associated with Alibaba Cloud CDN accelerated domain names.
Debugging
Run this operation in OpenAPI Explorer to sign requests automatically and generate SDK sample code.
Authorization information
The following table lists the authorization details for this operation. Use the values in the Operation column in the Action element of a RAM policy to grant a RAM user or RAM role permission to call this operation.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| cdn:DescribeCdnSSLCertificateList | get | *Domainacs:cdn:*:{#accountId}:domain/{#DomainName} |
none | none
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DomainName | string | No | The accelerated domain name to filter by. Specify at most one domain name per request. | www.example.com |
| PageNumber | long | No | The page number. Default value: 1. | 1 |
| PageSize | long | No | The number of entries per page. Valid values: 1 to 1000. | 20 |
| SearchKeyword | string | No | The keyword that is used to query the certificate. | certabc |
Response elements
| Parameter | Type | Description | Example |
|---|---|---|---|
| object | |||
| RequestId | string | The request ID. | E9D3257A-1B7C-414C-90C1-8D07AC47BCAC |
| CertificateListModel | object | The certificate list. | |
| Count | integer | The total number of certificates returned. | 2 |
| CertList | array\<object\> | The certificates. | |
| Cert | object | ||
| LastTime | long | The timestamp of the last modification to the certificate, in milliseconds. | 1679896965 |
| Fingerprint | string | The fingerprint of the certificate. | 933c6ddee95c9c41a40f9f50493d82be03ad87bf |
| CertName | string | The name of the certificate. | yourCertName |
| Issuer | string | The certificate authority (CA) that issued the certificate. | yourCertIssuer |
| CertId | long | The ID of the certificate. | 9128192 |
| Common | string | The Common Name (CN) of the certificate. In most cases, this is a domain name. | example.com |
| CertRegion | string | The region of the certificate. Valid values: cn-hangzhou and ap-southeast-1. Default value: cn-hangzhou. | cn-hangzhou |
| PageNumber | long | The current page number. Default value: 1. | 2 |
| PageSize | long | The number of entries per page. Valid values: 1 to 1000. | 20 |
Examples
Sample success responses
JSON format
{
"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 code | Error code | Error message | Description |
|---|---|---|---|
| 400 | NotFoundCertList | The certList is null. | The certificate list is empty. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-11-25 | The Error code has changed | View Change Details |