Call the DescribeDcdnDomainCertificateInfo operation to query the certificate information for a specified domain name.
Operation description
The call frequency limit for a single user is 100 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnDomainCertificateInfo |
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 certificate information. |
|
|
object |
|||
| Status |
string |
The status of the certificate.
|
success |
| CertLife |
string |
The validity period of the certificate. The unit can be months or years. |
3 months |
| CertExpireTime |
string |
The expiration time of the certificate. |
2018-06-03T22:03:39Z |
| SSLPub |
string |
The public key of the certificate. |
xxxx |
| SSLProtocol |
string |
The HTTPS status.
|
on |
| CertType |
string |
The type of the certificate.
|
cas |
| CertDomainName |
string |
The domain name that is associated with the certificate. |
example.com |
| CertName |
string |
The name of the certificate. |
cert-example.com |
| CertOrg |
string |
The certificate authority (CA) that issued the certificate. |
Let's Encrypt |
| DomainName |
string |
The accelerated domain name. |
example.com |
| CertId |
string |
The ID of the certificate. |
9002448 |
| CertRegion |
string |
The region where the certificate is used. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"Status": "success",
"CertLife": "3 months",
"CertExpireTime": "2018-06-03T22:03:39Z",
"SSLPub": "xxxx",
"SSLProtocol": "on",
"CertType": "cas",
"CertDomainName": "example.com",
"CertName": "cert-example.com",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com",
"CertId": "9002448",
"CertRegion": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.