Last Updated: May 22, 2017


  • Through this interface, certificates can be uploaded for management. Only one certificate and the corresponding private key can be uploaded at a time, and either a success message or an error code will be returned. This interface ensures transactionality, which means that both the certificate and the private key either are successfully uploaded or fail to be uploaded. After the certificate and private key are successfully added, the fingerprints for all of the user’s certificate lists are returned.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Values:UploadServerCertificate
RegionId String Yes ID of the region that a Server Load Balancer instance belongs to. Values: Select from the values returned by DescribeRegions.
ServerCertificate String Yes Security certificate to be uploaded.
ServerCertificateName String No Name of the certificate to be uploaded.
PrivateKey String Yes Private key to be uploaded.

Return Parameters

Name Type Description
Public Return Parameters For details, see Public Parameters
ServerCertificateId String Security certificate ID.
ServerCertificateName String Security certificate name
Fingerprint String Security certificate fingerprint


Request Example

  1. https://slb.aliyuncs.com/
  2. &Action=UploadServerCertificate
  3. &RegionId=cn-east-hangzhou-01
  4. &ServerCertificate=test
  5. &ServerCertificateName=mycert01
  6. &PrivateKey=wmsad!q23
  7. &<Public Request Parameters>

Return Example

  • XML format

    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <UploadServerCertificateResponse>
    3. <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
    4. <ServerCertificateId>idkp-123-cn-test-01</ServerCertificateId>
    5. <ServerCertificateName>mycert01</ServerCertificateId>
    6. <Fingerprint>01:DF:AB:CD</Fingerprint>
    7. </UploadServerCertificateResponse>
  • JSON format

    1. {
    2. "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    3. "ServerCertificateId":"idkp-123-cn-test-01",
    4. "ServerCertificateName":"mycert01",
    5. "Fingerprint":"01:DF:AB:CD"
    6. }
Thank you! We've received your feedback.