Last Updated: Aug 23, 2017


This interface is used to query a user’s certificate lists and return certificate fingerprints, names, and IDs. If the ServerCertificateId parameter is not passed, all certificates in the region specified by the user will be returned.Note: The returned information is sensitive. For security, only certificate fingerprints and names are returned. The certificate content and private key content are not returned.

Request Parameters

Name Type Required Description
Action String Yes Operation interface name, required parameter. Values: DescribeServerCertificates.
RegionId String Yes ID of the region that a Server Load Balancer instance belongs to. Values: Select from the values returned by DescribeRegions.
ServerCertificateId String No Security certificate ID.
ResourceGroupId String No The ID of enterprise resource group.

Return Parameters

Name Type Description
Public Return Parameters See Common parameters for details.
ServerCertificates List Returned certificate instance in array format. For details, see the table below.

Certificate List ServerCertificates

Name Type Description
ServerCertificateId String Security certificate ID.
ServerCertificateName String Security certificate name.
RegionId String Region of a security certificate.
Fingerprint String Security certificate fingerprint.


Request Example

  2. &Action=DescribeServerCertificate
  3. &RegionId=cn-east-hangzhou-01
  4. &<Public Request Parameters>

Return Example

  • XML format
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. < DescribeServerCertificateResponse>
    3. <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
    4. <ServerCertificates>
    5. <ServerCertificate>
    6. < ServerCertificateId >139a00604ad-cn-east-hangzhou-01</ ServerCertificateId>
    7. < ServerCertificateName >abe</ServerCertificateName>
    8. <Fingerprint >A:B:E</Fingerprint>
    9. </ServerCertificate>
    10. <ServerCertificate>
    11. < ServerCertificateId >139a00604ad-cn-east-hangzhou-02</ ServerCertificateId>
    12. < ServerCertificateName >abf</ServerCertificateName>
    13. <Fingerprint >A:B:F</Fingerprint>
    14. </ServerCertificate>
    15. </ServerCertificates>
    16. </DescribeServerCertificateResponse>
  • JSON format
    1. {"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    2. " ServerCertificates":{
    3. " ServerCertificate":[
    4. {" ServerCertificateId":"139a00604ad-cn-east-hangzhou-01"
    5. " ServerCertificateName":"abe",
    6. " Fingerprint ":"A:B:E"},
    7. {" ServerCertificateId":"282b00102ac-cn-east-hangzhou-02"
    8. " ServerCertificateName":"abf",
    9. " Fingerprint ":"A:B:F"}
    10. ]}}
Thank you! We've received your feedback.