edit-icon download-icon

DescribeCACertificates

Last Updated: Mar 05, 2018

Description

Query the CA certificates in a specified region.

Note: For security, only the fingerprints and names of the CA certificates are returned. The contents of the certificates are not returned.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:

DescribeCACertificates

RegionId String Yes The ID of the region where the CA certificate is located.
CACertificateId String No The ID of the CA certificate.
ResourceGroupId String No The ID of enterprise resource group.

Response parameter

Name Type Description
RequestId String The ID of the request.
CACertificates List

The list of CA certificates, including the following items:

  • CACertificateId

    The ID of the CA certificate.

  • CACertificateName

    The name of the CA certificate.

  • RegionId

    The ID of region where the CA certificate is located.

  • Fingerprint

    The fingerprint of the CA certificate.

Examples

Request example

  1. https://slb.aliyuncs.com/?Action=DescribeCACertificates
  2. &RegionId=cn-east-hangzhou-01
  3. &<CommonParameters>

Response example

  • XML format

    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <DescribeCACertificatesResponse>
    3. <RequestId>27E45AAA-1AAA-40B4-A039-526CC196A7F0</RequestId>
    4. <CACertificates>
    5. <CACertificate>
    6. <CreateTimeStamp>1496592118000</CreateTimeStamp>
    7. <CACertificateName>CA1</CACertificateName>
    8. <CreateTime>2017-06-04T16:01:58Z</CreateTime>
    9. <ResourceGroupId>rg-acfmxazb4ph6aiy</ResourceGroupId>
    10. <RegionId>cn-hangzhou</RegionId>
    11. <CACertificateId>1231579085529123_15c73d77203_-986300114_-2110544408</CACertificateId>
    12. <Fingerprint>0d:f6:9e:ed:c2:6d:df:06:ac:af:82:fb:17:1b:5b:08:39:b3:d9:d0</Fingerprint>
    13. </CACertificate>
    14. </CACertificates>
    15. </DescribeCACertificatesResponse>
  • JSON format

    1. {
    2. "RequestId":"27E45AAA-1AAA-40B4-A039-526CC196A7F0",
    3. "CACertificates":{
    4. "CACertificate":[
    5. {
    6. "CreateTimeStamp":1496592118000,
    7. "CACertificateName":"CA1",
    8. "CreateTime":"2017-06-04T16:01:58Z",
    9. "ResourceGroupId":"rg-acfmxazb4ph6aiy",
    10. "RegionId":"cn-hangzhou",
    11. "CACertificateId":"1231579085529123_15c73d77203_-986300114_-2110544408",
    12. "Fingerprint":"0d:f6:9e:ed:c2:6d:df:06:ac:af:82:fb:17:1b:5b:08:39:b3:d9:d0"
    13. }
    14. ]
    15. }
    16. }
Thank you! We've received your feedback.