Queries the status of client and server-side certificates using their serial numbers.
Operation description
QPS limit
You can call this operation up to 10 times per second per account. If you exceed this limit, throttling is triggered, which can affect your business. Plan your calls accordingly.
QPS Throttling
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds this limit, throttling is triggered. This may affect your business. We recommend that you note this limit when you call the operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SerialNumber |
string |
Yes |
The serial number of the client or server certificate to query. To query multiple certificates, separate the serial numbers with a comma (,). Note
Call the ListClientCertificate operation to query the serial numbers of all client and server certificates. |
b67e53ebcea9b77d65b0c3236646d715**** |
In addition to the parameters described in this topic, you must also specify common request parameters. For more information, see Common parameters.
For the request format, see the request example in the Examples section of this topic.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| CertificateStatus |
array<object> |
The details of the certificate status. |
|
|
object |
|||
| SerialNumber |
string |
The serial number of the certificate. |
b67e53ebcea9b77d65b0c3236646d715**** |
| Status |
string |
The current status of the certificate. Valid values:
|
good |
| RevokeTime |
integer |
The time when the certificate was revoked. This value is a UNIX timestamp. The value is 0 if the certificate has not been revoked. Note
This parameter is returned only when Status is revoked. |
2021-01-01T00:00 |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"CertificateStatus": [
{
"SerialNumber": "b67e53ebcea9b77d65b0c3236646d715****",
"Status": "good",
"RevokeTime": 0
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.