Query the uploaded CA certificates.

Note To guarantee security of the certificate, only the fingerprint and name of the certificate are returned, and the certificate contents are not returned.

Request parameters

Name Type Required Description 
Action  String  Yes The action to perform. Valid value:

DescribeCACertificates

RegionId String  Yes The region of the Server Load Balancer instance.

You can obtain the region ID by calling the DescribeRegions API.

CACertificateId String No The ID of the CA certificate.
ResourceGroupId String No The ID of enterprise resource group.

Response parameters

Name Type Description
RequestId String The ID of the request.
CACertificates List A list of CA certificates.
Table 1. CACertificates
Name Type Description
CACertificateId String The ID of the CA certificate.
CACertificateName String The name of the CA certificate.
RegionId String The region of the CA certificate.
Fingerprint String The fingerprint of the CA certificate.
CreateTimeStamp Long The timestamp of CA certificate uploading.
ExpireTime String The time of expiration.
ExpireTimeStamp Long The timestamp of expiration.
CommonName String Corresponds to the CommonName field of the certificate.

Examples

Request example

https://slb.aliyuncs.com/?Action=DescribeCACertificates
&Action=DescribeCACertificate
&RegionId=cn-hangzhou
&CommonParameters
Response example
  • XML format

    <? xml version="1.0" encoding="UTF-8"? >
    <DescribeCACertificatesResponse>
       <RequestId>6DFA147D-EE7E-4FE2-831A-9FAC41C52AFA</RequestId>
       <CACertificates>
          <CACertificate>
                <CACertificateId>1231579085529123_15c73d77203_-986300114_-2110544408</CACertificateId>
                <CACertificateName>CA1</CACertificateName>
                <CreateTime>2017-06-04T16:01:58Z</CreateTime>
                <CreateTimeStamp>1496592118000</CreateTimeStamp>
                <Fingerprint>0d:f6:9e:ed:c2:6d:df:06:ac:af:82:fb:17:1b:5b:08:39:b3:d9:d0</Fingerprint>
                <RegionId>cn-hangzhou</RegionId>
                <ResourceGroupId>rg-acfmxazb4ph6aiy</ResourceGroupId>
             </CACertificate>
       </CACertificates>
    </DescribeCACertificatesResponse>
  • JSON format

    {
        "RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
        "CACertificates":{
            "CACertificate":[
                {
                    "CACertificateId": "139a00604bd-cn-east-hangzhou-01",
                    "CACertificateName": "bcd",
                    "Fingerprint ": "AB:CB:DE",
                    "ExpireTime": "2017-06-23T11:33:08Z",
                    "ExpireTimeStamp": 1498217588000,
                    "CommonName": "www.rzemp.com"
                },
                {
                    "CACertificateId": "282b00102ac-cn-east-hangzhou-02",
                    "CACertificateName": "cde",
                    "Fingerprint ": "AC:BE:FD",
                    "ExpireTime": "2017-06-23T11:33:08Z",
                    "ExpireTimeStamp": 1498217588000,
                    "CommonName": "www.rzemp.com"
                    }
                }
            ]
        }
    }