Call the DescribeDomainCertificateInfo operation to query certificate information for a specified accelerated domain name.
Operation description
Each user can call this operation up to 100 times per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainCertificateInfo |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name. You can query only one domain name at a time. |
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. |
2018-06-03T22:03:39Z |
| CertLife |
string |
The unit of the certificate validity period.
|
months |
| Status |
string |
The status of the certificate.
|
success |
| CertUpdateTime |
string |
The time when the certificate was updated. |
2018-06-03T22:03:39Z |
| CertDomainName |
string |
The domain name that matches the certificate. |
example.com |
| ServerCertificateStatus |
string |
The status of HTTPS.
|
on |
| CertOrg |
string |
The name of the certificate authority (CA) that issued the certificate. |
Let's Encrypt |
| DomainName |
string |
The accelerated domain name. |
example.com |
| CertStartTime |
string |
The start time of the certificate validity period. |
2018-06-03T22:03:39Z |
| CertType |
string |
The type of the certificate.
|
free |
| CertName |
string |
The certificate name. |
example.com |
| DomainCnameStatus |
string |
The CNAME status of the domain name.
|
ok |
| ServerCertificate |
string |
The public key of the certificate. |
asdadaxxxx |
| CertId |
string |
The certificate ID. |
9002448 |
| CertRegion |
string |
The region where the certificate is located. |
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.