You can call this operation to query the SSL settings of an instance.

Note This operation is applicable only to MySQL 5.6, MySQL 5.7/8.0 High-availability Edition (based on local SSDs), and all editions of SQL Server.


You can use OpenAPI Explorer to perform debugging. OpenAPI Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required? Example Description
Action String Yes DescribeDBInstanceSSL

The operation that you want to perform. Set this parameter to DescribeDBInstanceSSL.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID fo the instance.

AccessKeyId String No LTAIfCxxxxxxx

The AccessKey ID issued by Alibaba Cloud for users to access services.

Response parameters

Parameter Type Example Description
ConnectionString String

The connection address protected by the SSL certificate.

SSLExpireTime String 2018-01-17T12:18:15Z

The expiration time of the SSL certificate. The time is in the following UTC format: yyyy-MM-ddTHH:mm:ssZ.

RequireUpdate String Yes

Indicates whether the SSL certificate needs to be updated. Valid values: Yes | No.

RequestId String 1AD222E9-E606-4A42-BF6D-8A4442913CEF

The ID of the request.

RequireUpdateReason String N/A

The reason why the SSL certificate needs to be updated.


Sample requests

http(s):// Action=DescribeDBInstanceSSL
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

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