Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:
| cn-hangzhou |
InstanceId | string | Yes | The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance.
| waf_v3prepaid_public_cn-uax****3k0e |
CertIdentifier | string | Yes | The ID of the certificate. | 123-cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3C115DBE-8E53-5A12-9CAF-FD3F****CDF6",
"CertDetail": {
"Domain": "demo.xxxaliyun.com",
"CertName": "testCertName",
"CertIdentifier": "123-cn-hangzhou",
"CommonName": "*.xxxaliyun.com\n",
"AfterDate": 1976256736582,
"BeforeDate": 1976256736582,
"Sans": [
"demo.yyyaliyun.com"
]
}
}
Error codes
For a list of error codes, visit the Service error codes.