DescribeLiveDomainCertificateInfo
Queries the certificate information of a specified live domain name.
Operation description
First obtain a live domain name, and then call this operation to query the certificate information of the specified live domain name.
QPS limit
The QPS limit for a single user is 100 queries per second. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveDomainCertificateInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain or ingest domain. |
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 free certificate. Valid values:
Note
status is valid only when the domain name certificate is a free certificate. If the domain name certificate is not a free certificate, an empty value is returned. |
success |
| CertLife |
string |
The validity period of the certificate.
|
3 months |
| CertExpireTime |
string |
The expiration time of the certificate. The time is displayed in the yyyy-MM-ddTHH:mm:ssZ format (UTC time). |
2018-06-03T22:03:39Z |
| SSLPub |
string |
The public key of the certificate. |
yourSSLPub |
| SSLProtocol |
string |
The HTTPS enabling status. Valid values:
|
on |
| CertType |
string |
The type of the certificate. Valid values:
|
cas |
| CertDomainName |
string |
The streaming domain or ingest domain that matches the certificate. |
example.com |
| CertName |
string |
The name of the certificate. |
Cert-**** |
| CertOrg |
string |
The organization of the certificate. |
Let's Encrypt |
| DomainName |
string |
The streaming domain or ingest domain. |
example.com |
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": "yourSSLPub",
"SSLProtocol": "on",
"CertType": "cas",
"CertDomainName": "example.com",
"CertName": "Cert-****",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.