All Products
Search
Document Center

CDN:DescribeCdnHttpsDomainList

Last Updated:Aug 06, 2024

Queries the information about SSL certificates that belong to your Alibaba Cloud account.

Operation description

Note You can call this operation up to 100 times per second per account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeCdnHttpsDomainListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberintegerNo

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

5
PageSizeintegerNo

The number of entries to return on each page. Default value: 20.

20
KeywordstringNo

The keyword that is used to search for certificates.

com

Response parameters

ParameterTypeDescriptionExample
object
TotalCountinteger

The total number of entries returned.

16
RequestIdstring

The ID of the request.

F5E8DF64-7175-4186-9B06-F002C0BBD0C5
CertInfosarray<object>

The information about the certificate.

object
CertStartTimestring

The time at which the certificate became effective.

2018-11-26 14:45:09
CertExpireTimestring

The time at which the certificate expires.

2018-12-26 14:45:09
CertUpdateTimestring

The time at which the certificate was updated.

2019-01-08 18:33:16
CertTypestring

The type of the certificate.

  • free: a free certificate.
  • cas: a certificate that is purchased from Alibaba Cloud SSL Certificates Service.
  • upload: a certificate that is uploaded by the user.
free
CertNamestring

The name of the certificate.

test
CertStatusstring

The status of the certificate.

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

The accelerated domain name.

example.com
CertCommonNamestring

The returned primary domain name of the certificate.

example.org

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400NoHttpsDomainYour account doesn't have https domain.

For a list of error codes, visit the Service error codes.