All Products
Search
Document Center

Certificate Management Service:ListCert

Last Updated:Jan 14, 2026

Retrieves a list of certificates.

Operation description

The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, your API calls are throttled, which can impact your business. We recommend that you call the API at a reasonable rate.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cert:ListCert

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceUuid

string

No

The UUID of the instance.

1ef79512-569b-6a4e-9105-9b91473562f7

BeforeDate

string

No

The time when the certificate was updated.

2025-09-04

AfterDate

string

No

The host record attached to the certificate.

2024-05-13 12:59:45

Status

string

No

The status of the certificate. Valid values:

  • ISSUE: Normal.

  • REVOKE: Revoked.

ISSUE

Type

string

No

The type of the certificate. Valid values:

  • SERVER: Server-side certificate.

  • CLIENT: Client certificate.

  • END_ENTITY: End-entity certificate.

CLIENT

CurrentPage

integer

No

The current page number.

1

ShowSize

integer

No

The certificate size in bytes.

50

MaxResults

integer

No

The maximum number of entries to return for this call.

20

NextToken

string

No

The token to start the next query. An empty value indicates that there are no more results.

1d2db86sca4384811e0b5e8707e68181f

Response elements

Element

Type

Description

Example

object

OpenApiResponse<PagedResultData>

TotalCount

integer

The total number of certificates.

10

PageCount

integer

The number of pages.

1

CurrentPage

integer

The current page number.

1

ShowSize

integer

The size of the certificate in bytes.

50

List

array<object>

The ID of the data source associated with the certificate.

object

The certificate information.

Status

string

The status of the certificate. Valid values:

  • ISSUE: Normal.

  • REVOKE: Revoked.

complete

AfterDate

string

The expiration time of the certificate.

2024-05-13 12:59:45

Organization

string

The organization of the certificate.

test

KeyExportable

boolean

Specifies whether the private key is exportable. Valid values:

  • true: The private key is exportable.

  • false: The private key is not exportable.

SubjectDn

string

The subscription relationship ID.

SubjectDn

Algorithm

string

The algorithm type.

RSA

CertificateType

string

The type of the certificate. Valid values:

  • free: Free certificate.

  • cas: Alibaba Cloud Security certificate.

  • upload: Custom upload.

Server

Identifier

string

The certificate identifier.

1ef539a8-1e1f-6b88-8c11-21cf01a203e9

SerialNumber

string

The certificate serial number.

3a3ee3c3597d675e

Extra

string

The extension field.

{"appId":"APP_PFHMIGUHKDUW6S3N7ZL2"}

OrganizationUnit

string

The name of the purchasing company or organization.

IT

BeforeTime

integer

The issuance time of the client certificate. This is a UNIX timestamp. Unit: milliseconds.

Note

The BeforeTime and AfterTime parameters must both be empty or both be set.

1728921600000

AliasName

string

The name of the issued certificate.

test

AfterTime

integer

The service expiration time of the client certificate. This is a UNIX timestamp. Unit: milliseconds.

Note

The BeforeTime and AfterTime parameters must both be empty or both be set.

1728921600000

Id

string

The data source ID of the certificate order.

1806958

Tags

array

The certificate tags.

string

The certificate tag.

{"app-57074":"test"}

CommonName

string

The primary domain name to which the certificate is bound.

www.kfsjn.xyz

BeforeDate

string

The issuance time of the certificate.

2026-05-19

CustomIdentifier

string

The custom identifier, which is a unique key.

***b86sca4384811e0b5e8707e68***

RequestId

string

The request ID.

15C66C7B-671A-4297-9187-2C4477247A74

NextToken

string

The token to start the next query. An empty value indicates that there are no more results.

1d2db86sca4384811e0b5e8707e68181f

MaxResults

integer

The maximum number of entries to return.

20

Examples

Success response

JSON format

{
  "TotalCount": 10,
  "PageCount": 1,
  "CurrentPage": 1,
  "ShowSize": 50,
  "List": [
    {
      "Status": "complete",
      "AfterDate": "2024-05-13 12:59:45",
      "Organization": "test",
      "KeyExportable": false,
      "SubjectDn": "SubjectDn",
      "Algorithm": "RSA",
      "CertificateType": "Server",
      "Identifier": "1ef539a8-1e1f-6b88-8c11-21cf01a203e9",
      "SerialNumber": "3a3ee3c3597d675e",
      "Extra": "{\"appId\":\"APP_PFHMIGUHKDUW6S3N7ZL2\"}",
      "OrganizationUnit": "IT",
      "BeforeTime": 1728921600000,
      "AliasName": "test",
      "AfterTime": 1728921600000,
      "Id": "1806958",
      "Tags": [
        "{\"app-57074\":\"test\"}"
      ],
      "CommonName": "www.kfsjn.xyz",
      "BeforeDate": "2026-05-19",
      "CustomIdentifier": "***b86sca4384811e0b5e8707e68***"
    }
  ],
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
  "NextToken": "1d2db86sca4384811e0b5e8707e68181f",
  "MaxResults": 20
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.