edit-icon download-icon

UploadCACertificate

Last Updated: Mar 05, 2018

Description

Upload a CA certificate. You can only upload one certificate each time.

After a certificate is successfully uploaded, the certificate ID and fingerprint are returned.

Request parameter

Name Type Required Description
Action String Yes

The action to perform. Valid value:

UploadCACertificate

RegionId String Yes

The ID of the region where the CA certificate is uploaded.

CACertificate String Yes The contents of the CA certificate to upload.
CACertificateName String No The name of the CA certificate.
ResourceGroupId String No The ID of the enterprise resource group.

Response parameter

Name Type Description
RequestId String The ID of the request.
CACertificateId String The ID of the CA certificate.
CACertificateName String The name of the CA certificate.
Fingerprint String The fingerprint of the CA certificate.
CreateTime String The time at which the CA certificate is uploaded.
TimeStamp Long The time at which the CA certificate is uploaded.

Examples

Request example

  1. https://slb.aliyuncs.com/?Action=UploadCACertificate
  2. &RegionId=cn-east-hangzhou-01
  3. &CACertificate=test
  4. &CACertificateName=mycacert01
  5. &<Common parameters>

Response example

  • XML format

    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <UploadCACertificateResponse>
    3. <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
    4. <CACertificateId>idkp-234-cn-test-02</CACertificateId>
    5. <CACertificateName>mycacert01</CACertificateName>
    6. <Fingerprint>02:DF:AB:ED</Fingerprint>
    7. </UploadCACertificateResponse>
  • JSON format

    1. {
    2. "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    3. "CACertificateId":"idkp-234-cn-test-02",
    4. "CACertificateName":"mycacert01",
    5. "Fingerprint":"02:DF:AB:ED"
    6. }
Thank you! We've received your feedback.