Queries the certificates of a specified domain name or all the domain names within your Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeLiveCertificateList

The operation that you want to perform. Set the value to DescribeLiveCertificateList.

DomainName String No live.yourdomain.com

The streaming domain and ingest domain.

Response parameters

Parameter Type Example Description
CertificateListModel Struct

The information about the returned certificates.

CertList Array of Cert

The details of each certificate.

Cert
CertId Long 123456

The ID of the certificate.

CertName String Cert-****

The name of the certificate.

Common String test

The common name of the certificate.

Fingerprint String ****

The fingerprint of the certificate.

Issuer String *****

The certificate authority (CA) that issued the certificate.

LastTime Long 1512388659

The time when the certificate was issued. Unit: seconds.

Count Integer 2

The number of certificates.

RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/? Action=DescribeLiveCertificateList
&<Common request parameters>

Sample success responses

XML format

<DescribeLiveCertificateListResponse>
      <CertificateListModel>
            <Count>2</Count>
            <CertList>
                  <Cert>
                        <CertName>Certificate1</CertName>
                        <Issuer>****</Issuer>
                        <LastTime>****</LastTime>
                        <CertId>****</CertId>
                        <Common>test</Common>
                        <Fingerprint>****</Fingerprint>
                  </Cert>
                  <Cert>
                        <CertName>Certificate2</CertName>
                        <Issuer>****</Issuer>
                        <LastTime>1512388659</LastTime>
                        <CertId>****</CertId>
                        <Common>test</Common>
                        <Fingerprint>****</Fingerprint>
                  </Cert>
            </CertList>
      </CertificateListModel>
      <RequestId>FC0E34AC-0239-44A7-AB0E-800DE522C8DA</RequestId>
</DescribeLiveCertificateListResponse>

JSON format

{
    "CertificateListModel": {
        "Count": 2, 
        "CertList": {
            "Cert": [
                {
                    "CertName": "Certificate1", 
                    "Issuer": "****", 
                    "LastTime": 1512388610, 
                    "CertId": "****", 
                    "Common": "test", 
                    "Fingerprint": "****"
                }, 
                {
                    "CertName": "Certificate2", 
                    "Issuer": "****", 
                    "LastTime": 1512388659, 
                    "CertId": "****", 
                    "Common": "test", 
                    "Fingerprint": "****"
                }
            ]
        }
    }, 
    "RequestId": "FC0E34AC-0239-44A7-AB0E-800DE522C8DA"
}

Error codes

For a list of error codes, visit the API Error Center.