Queries all certificate information for your 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 DescribeDcdnHttpsDomainList

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

PageNumber Integer No 1

The number of the page to return. Valid values: 1 to 100000.

PageSize Integer No 2

The number of entries to return on each page. Valid values: 1 to 500. Default value: 20.

Keyword String No cert

The keyword to be matched.

Response parameters

Parameter Type Example Description
CertInfos Array of CertInfo

The certificate information for the returned domain name.

CertInfo
CertCommonName String *.xxx.com

The returned primary domain name of the certificate.

CertExpireTime String 2018-12-26 14:45:09

The time when the certificate expires.

CertName String cert-xxx

The name of the certificate.

CertStartTime String 2018-11-26 14:45:09

The time when the certificate became effective.

CertStatus String mismatch

The status of the certificate. Valid values:

  • ok: The certificate is working as expected.
  • mismatch: The certificate does not match the domain name.
  • expired: The certificate has expired.
  • expire_soon: The certificate will expire soon.
CertType String upload

The type of certificate. Valid values:

  • free: a free certificate.
  • cas: a certificate that is purchased from Alibaba Cloud SSL Certificates Service
  • upload: a certificate that you have uploaded.
CertUpdateTime String 2019-01-08 18:33:16

The time when the certificate was last updated.

DomainName String **xxx.com

The accelerated domain name.

RequestId String F5E8DF64-7175-4186-9B06-F002C0BBD0C5

The ID of the request.

TotalCount Integer 16

The total number of the returned entries.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeDcdnHttpsDomainListResponse>
  <CertInfos>
        <CertInfo>
              <CertUpdateTime>2019-01-08 18:33:16</CertUpdateTime>
              <CertType>upload</CertType>
              <CertName>cert-xxx</CertName>
              <DomainName>**xxx.com</DomainName>
              <CertStatus>mismatch</CertStatus>
              <CertExpireTime>2018-12-26 14:45:09</CertExpireTime>
              <CertStartTime>2018-11-26 14:45:09</CertStartTime>
              <CertCommonName>*.xxx.com</CertCommonName>
        </CertInfo>
  </CertInfos>
  <TotalCount>16</TotalCount>
  <RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>
</DescribeDcdnHttpsDomainListResponse>

JSON format

{
    "CertInfos": {
        "CertInfo": [
            {
                "CertUpdateTime": "2019-01-08 18:33:16",
                "CertType": "upload",
                "CertName": "cert-xxx",
                "DomainName": "**xxx.com",
                "CertStatus": "mismatch",
                "CertExpireTime": "2018-12-26 14:45:09",
                "CertStartTime": "2018-11-26 14:45:09",
                "CertCommonName": "*.xxx.com"
            }
        ]
    },
    "TotalCount": 16,
    "RequestId": "F5E8DF64-7175-4186-9B06-F002C0BBD0C5"
}

Error codes

HTTP status code Error code Error message Description
400 NoHttpsDomain Your account does not have any HTTPS domain. The error message returned because your account does not have a domain name with HTTPS enabled.

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