All Products
Search
Document Center

Certificate Management Service:ListRevokeCertificate

Last Updated:Dec 16, 2025

Queries the details of all revoked client and server-side certificates.

Operation description

Retrieves a paginated list of all revoked client and server-side certificates. The list includes the unique identifier, serial number, and revocation date for each certificate.

QPS limit

The queries per second (QPS) limit for this operation is 10 calls per second for each user. Calls that exceed this limit are throttled. Throttling can affect your business. To prevent service disruption, call this operation 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:ListRevokeCertificate

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

CurrentPage

integer

No

The page number of the page to return. This is for paged queries. The default value is 1.

1

ShowSize

integer

No

The number of revoked certificates to return on each page. This is for paged queries. The default value is 20.

20

In addition to the parameters for this operation, you must include the common request parameters for all Alibaba Cloud APIs.

For information about the request format, see the request example in the Examples section of this topic.

Response elements

Element

Type

Description

Example

object

ListCertificateResponse2.

CertificateList

array<object>

The details of the revoked client or server-side certificates.

object

An object.

RevokeDate

string

The date when the certificate was revoked. The format is yyyy-MM-ddT00:00Z. For example, 2021-09-01T00:00Z indicates September 1, 2021.

2021-09-01T00:00Z

Identifier

string

The unique identifier of the certificate.

05e148d8d3ecc9976d9ecd2b2f25****

SerialNumber

string

The serial number of the certificate.

168b12c42e62339f8d2340ff530f9365****

SubjectDN

string

The Distinguished Name (DN) of the certificate. This indicates the user of the certificate and includes the following information:

  • C: The country.

  • O: The organization.

  • OU: The department.

  • L: The city.

  • ST: The province or state.

  • CN: The common name.

C=CN,O=阿里云计算有限公司,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com

CommonName

string

The common name of the certificate.

aliyundoc.com

OrganizationUnit

string

The department name of the organization associated with the issuing subordinate CA certificate.

Security

Organization

string

The name of the organization associated with the issuing subordinate CA certificate.

阿里云计算有限公司

Locality

string

The city where the organization associated with the issuing subordinate CA certificate is located.

Hangzhou

State

string

The name of the province or state where the organization associated with the issuing subordinate CA certificate is located.

Zhejiang

CountryCode

string

The country code of the country where the organization associated with the issuing subordinate CA certificate is located.

For more information about country codes, see the International codes section of Manage company information.

CN

Sans

string

The Subject Alternative Name (SAN) extension of the certificate.

This parameter is a string that contains a JSON array. Each element in the array is an object that represents a SAN extension. Each object contains the following parameters:

  • Type: An integer that indicates the type of the extension. Valid values:
    • 1: Email address.

    • 2: Domain name.

    • 6: Uniform Resource Identifier (URI).

    • 7: IP address.

  • Value: A string that indicates the content of the extension.

[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]

Status

string

The status of the certificate.

ISSUE

BeforeDate

string

The date when the certificate was issued. The format is yyyy-MM-ddT00:00Z. For example, 2021-01-01T00:00Z indicates January 1, 2021.

2021-01-01T00:00Z

AfterDate

string

The date when the certificate expires. The format is yyyy-MM-ddT00:00Z. For example, 2021-12-31T00:00Z indicates December 31, 2021.

2021-12-31T00:00Z

Algorithm

string

The type of the encryption algorithm of the certificate. Valid values:

  • RSA: The RSA algorithm.

  • ECC: The ECC algorithm.

  • SM2: The SM2 algorithm.

RSA

KeySize

integer

The key length of the certificate.

4096

SignAlgorithm

string

The signature algorithm of the certificate.

SHA256WITHRSA

CertificateType

string

The type of the certificate.

SERVER

ParentIdentifier

string

The identifier of the parent certificate.

160ae6bb538d538c70c01f81dcf2****

Sha2

string

The SHA-256 digital fingerprint of the certificate.

b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a****

Md5

string

The MD5 digital fingerprint of the certificate.

05e148d8d3ecc9976d9ecd2b2f25****

CurrentPage

integer

The page number of the current page.

1

PageCount

integer

The total number of pages.

1

ShowSize

integer

The number of revoked certificates on each page.

20

TotalCount

integer

The total number of revoked client and server-side certificates.

1

RequestId

string

The ID of the request.

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

Examples

Success response

JSON format

{
  "CertificateList": [
    {
      "RevokeDate": "2021-09-01T00:00Z",
      "Identifier": "05e148d8d3ecc9976d9ecd2b2f25****",
      "SerialNumber": "168b12c42e62339f8d2340ff530f9365****",
      "SubjectDN": "C=CN,O=阿里云计算有限公司,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com",
      "CommonName": "aliyundoc.com",
      "OrganizationUnit": "Security",
      "Organization": "阿里云计算有限公司",
      "Locality": "Hangzhou",
      "State": "Zhejiang",
      "CountryCode": "CN",
      "Sans": "[ {\"Type\": 7, \"Value\": \"192.0.XX.XX\"}, {\"Type\": 2, \"Value\": \"www.aliyundoc.com\"}, ]",
      "Status": "ISSUE",
      "BeforeDate": "2021-01-01T00:00Z",
      "AfterDate": "2021-12-31T00:00Z",
      "Algorithm": "RSA",
      "KeySize": 4096,
      "SignAlgorithm": "SHA256WITHRSA",
      "CertificateType": "SERVER",
      "ParentIdentifier": "160ae6bb538d538c70c01f81dcf2****",
      "Sha2": "b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a****",
      "Md5": "05e148d8d3ecc9976d9ecd2b2f25****"
    }
  ],
  "CurrentPage": 1,
  "PageCount": 1,
  "ShowSize": 20,
  "TotalCount": 1,
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.