DescribeVodDomainCertificateInfo
Retrieves the certificate information of a specified accelerated domain name.
Operation description
Currently, the only supported region is China (Shanghai).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainCertificateInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name for ApsaraVideo VOD. |
example.com |
| HeraApiAutoVersion |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| RequestId |
string |
The request ID. |
5C1E43DC-9E51-4771-****-7D5ECEB547A1 |
| CertInfos |
object |
||
| CertInfo |
array<object> |
The certificate information. |
|
|
object |
|||
| CertExpireTime |
string |
The expiration time of the certificate. The time is displayed in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2018-06-03T13:03:39Z |
| CertLife |
string |
The validity period of the certificate. Unit: months or years. |
3 months |
| Status |
string |
The certificate status. Valid values:
Note
This field returns a value only when CertType is set to free. For other certificate types, this field is empty. |
success |
| CertUpdateTime |
string |
The time when the certificate was updated. The time follows the ISO 8601 standard and is displayed in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2023-04-26T20:23:38Z |
| CertDomainName |
string |
The domain name matched by the certificate. |
example.com |
| ServerCertificateStatus |
string |
The enabling status of the HTTPS certificate. Valid values:
|
on |
| CertOrg |
string |
The certificate organization. |
Let's Encrypt |
| DomainName |
string |
The accelerated domain name. |
example.com |
| CertStartTime |
string |
The start time of the certificate. The time follows the ISO 8601 standard and is displayed in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2023-04-26T20:23:38Z |
| CertType |
string |
The certificate type. Valid values:
|
free |
| CertName |
string |
The certificate name. |
cert-example.com |
| DomainCnameStatus |
string |
The CNAME status of the domain name. Valid values:
|
ok |
| ServerCertificate |
string |
The certificate public key. |
**** |
| CertId |
string |
The certificate ID. |
13227737-cn-hangzhou |
| CertRegion |
string |
The region where the certificate is used. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "5C1E43DC-9E51-4771-****-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"CertExpireTime": "2018-06-03T13:03:39Z",
"CertLife": "3 months",
"Status": "success",
"CertUpdateTime": "2023-04-26T20:23:38Z",
"CertDomainName": "example.com",
"ServerCertificateStatus": "on",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com",
"CertStartTime": "2023-04-26T20:23:38Z",
"CertType": "free",
"CertName": "cert-example.com",
"DomainCnameStatus": "ok",
"ServerCertificate": "****",
"CertId": "13227737-cn-hangzhou",
"CertRegion": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.