Queries the certificates or certificate orders of users.
Operation description
You can call the ListUserCertificateOrder operation to query the certificates or certificate orders of users. If you set OrderType to CERT or UPLOAD, certificates are returned. If you set OrderType to CPACK or BUY, certificate orders are returned.
Limits
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 domain name that is bound or the ID of the resource. Fuzzy match is supported. | cert-instanceId |
Status | string | No | The certificate status of the order. Valid values:
If you set OrderType to CERT or UPLOAD and Status is left empty, valid certificates are returned by default, including issued certificates and certificates that are about to expire. If you set OrderType to CPACK or BUY and Status is left empty, all orders are returned by default. | ISSUED |
OrderType | string | No | The type of the order. Default value: CPACK. Valid values:
| CPACK |
CurrentPage | long | No | The number of the page to return. | 1 |
ShowSize | long | No | The number of entries to return on each page. Default value: 50. | 10 |
ResourceGroupId | string | No | The ID of the resource group. You can call the ListResources operation to obtain the ID. | rg-ae******4wia |
Response parameters
Examples
Sample success responses
JSON
format
{
"ShowSize": 10,
"CurrentPage": 1,
"TotalCount": 1,
"CertificateOrderList": [
{
"Algorithm": "RSA",
"AliyunOrderId": 234567,
"BuyDate": 1634283958000,
"CertEndTime": 1665819958000,
"CertStartTime": 1665819958000,
"CertType": "FREE",
"Domain": "aliyundoc.com",
"DomainCount": 1,
"DomainType": "ONE",
"InstanceId": "cas-instanceId",
"OrderId": 2345687,
"PartnerOrderId": "ca-123456",
"ProductCode": "bykj123456",
"ProductName": "CFCA",
"RootBrand": "CFCA",
"SourceType": "buy",
"Status": "PAYED",
"TrusteeStatus": "unTrustee",
"WildDomainCount": 0,
"CertificateId": 896521,
"Name": "cert-name",
"CommonName": "aliyun.com",
"Fingerprint": "CC6B3696E7C7CA715BD26E28E45FF3E3DF435C03",
"Sha2": "56B4DED2243A81DD909D7C39824FFE4DDBD87F91BFA46CD333FF212FE0E7CB11",
"SerialNo": "040a6e493cffdda6d744acf99b6576cf",
"Issuer": "MyIssuer",
"OrgName": "Alibaba Cloud\n",
"Province": "Zhejiang\n",
"City": "Hangzhou\n",
"Country": "CN",
"Sans": "aliyun.com",
"Expired": true,
"Upload": false,
"StartDate": "2021-11-16",
"EndDate": "2022-11-17",
"ResourceGroupId": "rg-ae******4wia"
}
],
"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 |
---|