Queries the certificate information about a specific domain name for CDN.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeVodDomainCertificateInfo |
The operation that you want to perform. Set the value to DescribeVodDomainCertificateInfo. |
DomainName | String | Yes | example.com |
The domain name for CDN. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CertInfos | Array of CertInfo |
The certificate information. |
|
CertInfo | |||
CertDomainName | String | example.com |
The domain name that matches the certificate. |
CertExpireTime | String | 2018-06-03T13:03:39Z |
The time when the certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
CertLife | String | 3 months |
The validity period of the certificate. Unit: month or year. |
CertName | String | cert-example.com |
The name of the certificate. |
CertOrg | String | Let's Encrypt |
The certificate authority (CA) that issued the certificate. |
CertType | String | free |
The type of the certificate. Valid values:
|
DomainName | String | example.com |
The domain name for CDN. |
ServerCertificateStatus | String | checking |
The status of the server certificate.
|
Status | String | success |
The status of the certificate.
|
RequestId | String | 5C1E43DC-9E51-4771-****-7D5ECEB547A1 |
The ID of the request. |
Examples
Sample requests
https://vod.{ApiRegion}.aliyuncs.com/?Action=DescribeVodDomainCertificateInfo
&DomainName=example.com
&<Common request parameters>
Sample success responses
XML
format
<DescribeVodDomainCertificateInfoResponse>
<CertInfos>
<CertInfo>
<Status>success</Status>
<CertLife>3 months</CertLife>
<SSLProtocol>on</SSLProtocol>
<CertType>cas</CertType>
<CertName>cert-example.com</CertName>
<CertDomainName>example.com</CertDomainName>
<DomainName>example.com</DomainName>
<CertOrg>Let's Encrypt</CertOrg>
<CertExpireTime>2018-06-03T13:03:39Z</CertExpireTime>
</CertInfo>
</CertInfos>
<RequestId>5C1E43DC-9E51-4771-****-7D5ECEB547A1</RequestId>
</DescribeVodDomainCertificateInfoResponse>
JSON
format
{
"CertInfos": {
"CertInfo": [
{
"Status": "success",
"CertLife": "3 months",
"SSLProtocol": "on",
"CertType": "cas",
"CertName": "cert-example.com",
"CertDomainName": "example.com",
"DomainName": "example.com",
"CertOrg": "Let's Encrypt",
"CertExpireTime": "2018-06-03T13:03:39Z"
}
]
},
"RequestId": "5C1E43DC-9E51-4771-****-7D5ECEB547A1"
}
Error codes
For a list of error codes, visit the API Error Center.
Common errors
The following table describes the common errors that this operation can return.
Error code |
Error message |
HTTP status code |
Description |
---|---|---|---|
InvalidDomain.NotFound |
The domain provided does not belong to you. |
404 |
The error message returned because the domain name does not exist or does not belong to you. |