Queries the certificates of one or more accelerated domains.

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 DescribeDcdnCertificateList

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

DomainName String No example.com

The names of the accelerated domains. If you need to specify multiple accelerated domain names, separate them with commas (,).

By default, the operation returns the certificates of all the accelerated domains.

Response parameters

Parameter Type Example Description
CertificateListModel Struct

The data type of the certificate information.

CertList Array

The details about each certificate.

Cert
CertId Long 123

The ID of the certificate.

CertName String Certificate 2

The name of the certificate.

Common String test.com

The Common Name (CN) attribute of the certificate. In most cases, the specified value is a domain name.

Fingerprint String 0151xxxx

The fingerprint of the certificate.

Issuer String DigiCert

The certificate authority (CA) that issued the certificate.

LastTime Long 1548065550

The timestamp.

Count Integer 123

The number of certificates.

RequestId String FC0E34AC-0239-44A7-AB0E-800DE522C8DA

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.com?Action=DescribeDcdnCertificateList
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnCertificateListResponse>
  <CertificateListModel>
        <Count>1</Count>
        <CertList>
              <Cert>
                    <CertId>123</CertId>
                    <Issuer>DigiCert Inc</Issuer>
                    <LastTime>1548065550</LastTime>
                    <CertName>Certificate 2</CertName>
                    <Common>test.com</Common>
                    <Fingerprint>0151xxxx</Fingerprint>
              </Cert>
        </CertList>
  </CertificateListModel>
  <RequestId>3D252697-9828-4531-AC00-F6CEFB61252D</RequestId>
</DescribeDcdnCertificateListResponse>

JSON format

{
	"CertificateListModel": {
		"Count": 1,
		"CertList": {
			"Cert": [
				{
					"CertId": 123,
					"Issuer": "DigiCert Inc",
					"LastTime": 1548065550,
					"CertName": "Certificate 2",
					"Common": "test.com",
					"Fingerprint": "0151xxxx"
				}
			]
		}
	},
	"RequestId": "3D252697-9828-4531-AC00-F6CEFB61252D"
}

Error codes

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