ListRevokeCertificate
Queries the details of all revoked client certificates and server certificates.
Operation description
This operation queries the details of all revoked client certificates and server certificates by page, such as the unique identifier, serial number, and revocation date of a certificate.
Rate limit
The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
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 current page. Default value: 1. |
1 |
| ShowSize |
integer |
No |
The number of revoked certificates to return on each page. Default value: 20. |
20 |
When you call this operation, you must include the common request parameters of Alibaba Cloud APIs in addition to the operation-specific request parameters.
For more information about the request format, see the request example in the Examples section.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The ListCertificateResponse2 |
||
| CertificateList |
array<object> |
The details of the revoked client certificates or server certificates. |
|
|
object |
The object. |
||
| RevokeDate |
string |
The date when the certificate was revoked. The format is |
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) attribute of the certificate, which indicates the subject of the certificate. The attribute includes the following information:
|
C=CN,O=Alibaba Cloud Computing Co., Ltd.,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com |
| CommonName |
string |
The common name of the certificate. |
aliyundoc.com |
| OrganizationUnit |
string |
The name of the department in the organization associated with the subordinate CA certificate that issued the certificate. |
Security |
| Organization |
string |
The name of the organization associated with the subordinate CA certificate that issued the certificate. |
Alibaba Cloud Computing Co., Ltd |
| Locality |
string |
The name of the city where the organization associated with the subordinate CA certificate that issued the certificate is located. |
Hangzhou |
| State |
string |
The name of the province, municipality, or autonomous region where the organization associated with the subordinate CA certificate that issued the certificate is located. |
Zhejiang |
| CountryCode |
string |
The code of the country where the organization associated with the subordinate CA certificate that issued the certificate is located. For more information about country codes, see the Country code section in Manage company information. |
CN |
| Sans |
string |
The Subject Alternative Name (SAN) extension attribute of the certificate. This parameter is represented by a string converted from a JSON array. Each element in the JSON array is a struct that corresponds to a SAN extension. Each SAN extension struct includes the following parameters:
|
[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ] |
| Status |
string |
The status. |
ISSUE |
| BeforeDate |
string |
The issuance date of the certificate. The format is |
2021-01-01T00:00Z |
| AfterDate |
string |
The expiration date of the certificate. The format is |
2021-12-31T00:00Z |
| Algorithm |
string |
The encryption algorithm type of the certificate. Valid values:
|
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 fingerprint of the certificate. |
b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a**** |
| Md5 |
string |
The MD5 fingerprint of the certificate. |
05e148d8d3ecc9976d9ecd2b2f25**** |
| CustomIdentifier |
string |
The custom user identifier, which is a unique key. |
****48d8d3ecc9976d9ecd2b2f25**** |
| 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 returned on each page. |
20 |
| TotalCount |
integer |
The total number of revoked client certificates and server 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****",
"CustomIdentifier": "****48d8d3ecc9976d9ecd2b2f25****"
}
],
"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.