Queries the certificates in a certificate repository.
Operation description
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
KeyWord | string | No | The keyword for the query. You can enter a name, domain name, or Subject Alternative Name (SAN) extension. Fuzzy match is supported. | test_name |
WarehouseId | long | No | The ID of the certificate repository. You can call the ListCertWarehouse API operation to query the IDs of certificate repositories. | 12 |
Status | string | No | The status of the certificate. Valid values:
| ISSUE |
SourceType | string | No | The source of the certificate. Valid values:
| aliyun |
CurrentPage | long | No | The number of the page to return. Default value: 1. | 1 |
ShowSize | long | No | The number of entries to return on each page. Default value: 50. | 50 |
Response parameters
Examples
Sample success responses
JSON
format
{
"ShowSize": 50,
"CurrentPage": 1,
"TotalCount": 10,
"CertList": [
{
"WhId": 2,
"Identifier": "14dcc8afc7578e",
"WhInstanceId": "test_whInstanceId",
"Status": "ISSUE",
"SourceType": "aliyun",
"CertType": "CERT",
"CommonName": "aliyun.alibaba.com",
"BeforeDate": 1665819958000,
"Issuer": "mySSL",
"AfterDate": 1634283958000,
"ExistPrivateKey": false,
"Sans": "*.alibaba.com,aliyun.alibaba.com"
}
],
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-19 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |