Queries the list of CA certificates.
Make the API call
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
Action | String | Yes | DescribeCACertificates |
The name of this action. Value: DescribeCACertificates |
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the CA certificate belongs. To query the region ID, call DescribeRegions. |
CACertificateId | String | No | 139a00604bd-cn-east-hangzhou-02 |
The ID of the CA certificate. |
OwnerAccount | String | No | testuser@aliyun.com |
The Alibaba Cloud account. |
ResourceGroupId | String | No | rg-atstuj3rtoptyui |
The ID of the enterprise resource group. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
CACertificates |
The list of CA certificates. |
||
CACertificateId | String | 139a00604bd-cn-east-hangzhou-02 |
The ID of the CA certificate. |
CACertificateName | String | test |
The name of the CA certificate. |
RegionId | String | cn-hangzhou |
The ID of the region to which the CA certificate belongs. |
Fingerprint | String | AC:BE:FD |
The fingerprint of the CA certificate. |
CommonName | String | .example.com |
The domain name of the CA certificate. |
CreateTime | String | 2017-08-31T02:49:05Z |
The time when the CA certificate is created. |
CreateTimeStamp | Long | 1504147745000 |
The timestamp generated when the CA certificate is created. |
ExpireTime | String | 2024-11-21T06:04:25Z |
The time when the CA certificate expires. |
ExpireTimeStamp | Long | 1732169065000 |
The timestamp generated when the CA certificate expires. |
ResourceGroupId | String | rg-atstuj3rtoptyui |
The ID of the enterprise resource group. |
RequestId | String | 365F4154-92F6-4AE4-92F8-7FF34B540710 |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? Action=DescribeCACertificates
&RegionId=cn-hangzhou
&<CommonParameters>
Response example
XML
format
<DescribeCACertificateResponse>
<RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
<CACertificates>
<CACertificate>
<CACertificateId>139a00604bd-cn-east-hangzhou-01
</CACertificateId>
<CACertificateName>bcd
</CACertificateName>
<Fingerprint>AB:CB:DE</Fingerprint>
</CACertificate>
<CACertificate>
<CACertificateId>139a00604bd-cn-east-hangzhou-02</CACertificateId>
<CACertificateName>cde</CACertificateName>
<Fingerprint>AC:BE:FD</Fingerprint>
</CACertificate>
</CACertificates>
</DescribeCACertificateResponse>
JSON
format
{
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
" CACertificates":{
"CACertificate":[
{
"CACertificateName":"bcd",
"Fingerprint ":"AB:CB:DE",
"CACertificateId":"139a00604bd-cn-east-hangzhou-01"
},
{
"CACertificateName":"cde",
"Fingerprint ":"AC:BE:FD",
"CACertificateId":"282b00102ac-cn-east-hangzhou-02"
}
]
}
}
Errors
For a list of error codes, visit the API Error Center.