All Products
Search
Document Center

Alibaba Cloud Service Mesh:GetCaCert

Last Updated:Mar 05, 2024

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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

c7894c929677643a5bfe1a732d778a****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

E0496204-7586-5B4C-B364-2361CC0ED****
CaCertstring

The Base64-encoded content of the CA certificate.

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

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.