Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.


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 No DescribeDBClusterSSL

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

DBClusterId String Yes pc-************

The ID of the PolarDB cluster that you want to manage.

Response parameters

Parameter Type Example Description
RequestId String C890995A-CF06-4F4D-8DB8-DD26C2******

The ID of the request.

SSLAutoRotate String Enable

Indicates whether the SSL certificate is enabled. Valid values:

Enable: The SSL certificate is enabled.

Disable: The SSL certificate is disabled.

Items Array of Item

The list of SSL connections.

SSLExpireTime String 2021-11-13T07:14:22Z

The time at which the SSL certificate expires. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

SSLEnabled String Enabled

Indicates whether SSL encryption is enabled. Valid values:

  • Enabled: SSL encryption is enabled.
  • Disabled: SSL encryption is disabled.
SSLConnectionString String pc-************.mysql.polardb.rds.aliyuncs.com

The SSL connection string.

DBEndpointId String pe-************

The ID of the cluster endpoint.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "C890995A-CF06-4F4D-8DB8-DD26C2******",
  "SSLAutoRotate" : "Enable",
  "Items" : [ {
    "SSLExpireTime" : "2021-11-13T07:14:22Z",
    "SSLEnabled" : "Enabled",
    "SSLConnectionString" : "pc-************.mysql.polardb.rds.aliyuncs.com",
    "DBEndpointId" : "pe-************"
  } ]

Error codes

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