You can call this operation to modify the Secure Sockets Layer (SSL) link of an instance.

This operation is used to configure SSL encryption for an instance.

  • This operation is applicable only to MySQL5.6, 5.7/8.0 High-availability Edition (based on local SSDs), and all editions of SQL Server.
  • SSL encryption is not supported for the read/write splitting address.


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 ModifyDBInstanceSSL

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

ConnectionString String Yes

The connection address for which the SSL certificate is created or updated.

Note Each instance can only have one connection address which is protected by the SSL certificate.
DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

AccessKeyId String No LTAIfCxxxxxxx

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

Response parameters

Parameter Type Example Description
RequestId String 777C4593-8053-427B-99E2-105593277CAB

The ID of the request.


Sample requests

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

Successful response examples

XML format


JSON format


Error codes

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