Queries the certificate information about an accelerated domain name.
The maximum number of times that each user can call this operation per second is 100.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDomainCertificateInfo |
The operation that you want to perform. Set the value to DescribeDomainCertificateInfo. |
DomainName | String | Yes | example.com |
The accelerated domain name. You can specify only one domain name in each query. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CertInfos | Array of CertInfo |
The information about the SSL certificate. |
|
CertInfo | |||
CertDomainName | String | example.com |
The domain name that matches the SSL certificate. |
CertExpireTime | String | 2018-06-03T22:03:39Z |
The time when the SSL certificate expires. |
CertLife | String | months |
The unit of the validity period of the SSL certificate.
|
CertName | String | example.com |
The name of the SSL certificate. |
CertOrg | String | Let's Encrypt |
The name of the certificate authority (CA) that issued the SSL certificate. |
CertStartTime | String | 2018-06-03T22:03:39Z |
The time when the SSL certificate became effective. |
CertType | String | free |
The type of the SSL certificate. Valid values:
|
CertUpdateTime | String | 2018-06-03T22:03:39Z |
The time when the certificate was renewed. |
DomainCnameStatus | String | ok |
The status of the CNAME of the domain name.
|
DomainName | String | example.com |
The accelerated domain name. |
ServerCertificate | String | asdadaxxxx |
The public key of the SSL certificate. |
ServerCertificateStatus | String | on |
The status of HTTPS.
|
Status | String | success |
The status of the SSL certificate.
|
RequestId | String | 5C1E43DC-9E51-4771-82C0-7D5ECEB547A1 |
The ID of the request. |
Examples
Sample requests
http://cdn.aliyuncs.com?Action=DescribeDomainCertificateInfo
&DomainName=example.com
&<Common request parameters>
Sample success responses
XML
format
<DescribeDomainCertificateInfo>
<CertInfos>
<CertInfo>
<Status>success</Status>
<CertLife>3 months</CertLife>
<ServerCertificateStatus>on</ServerCertificateStatus>
<CertType>cas</CertType>
<CertName>example.com</CertName>
<CertDomainName>example.com</CertDomainName>
<DomainName>example.com</DomainName>
<CertOrg>Let's Encrypt</CertOrg>
<CertExpireTime>2018-06-03T22:03:39Z</CertExpireTime>
</CertInfo>
</CertInfos>
<RequestId>5C1E43DC-9E51-4771-82C0-7D5ECEB547A1</RequestId>
</DescribeDomainCertificateInfo>
JSON
format
{
"CertInfos": {
"CertInfo": [
{
"Status": "success",
"CertLife": "3 months",
"ServerCertificateStatus": "on",
"CertType": "cas",
"CertName": "example.com",
"CertDomainName": "example.com",
"DomainName": "example.com",
"CertOrg": "Let's Encrypt",
"CertExpireTime": "2018-06-03T22:03:39Z"
}
]
},
"RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1"
}
Error codes
For a list of error codes, visit the API Error Center.