Obtains a certificate issued by a certificate authority (CA).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetCaCert

The operation that you want to perform. Set the value to GetCaCert.

ServiceMeshId String Yes c7894c929677643a5bfe1a732d778a****

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

Response parameters

Parameter Type Example Description
RequestId String E0496204-7586-5B4C-B364-2361CC0ED****

The ID of the request.

CaCert String -----BEGIN CERTIFICATE-----\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\n

The Base64-encoded content of the CA certificate.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetCaCert
&ServiceMeshId=c7894c929677643a5bfe1a732d778a****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<GetCaCertResponse>
    <RequestId>E0496204-7586-5B4C-B364-2361CC0ED****</RequestId>
    <CaCert>-----BEGIN CERTIFICATE-----\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\n</CaCert>
</GetCaCertResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "E0496204-7586-5B4C-B364-2361CC0ED****",
  "CaCert" : "-----BEGIN CERTIFICATE-----\\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\\n"
}

Error codes

For a list of error codes, visit the API Error Center.