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.

Note
  • 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.

Debugging

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 rm-uf6wjk5xxxxx.mysql.rds.aliyuncs.com

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.

Examples

Sample requests


http(s)://rds.aliyuncs.com/? Action=ModifyDBInstanceSSL
&ConnectionString=rm-uf6wjk5xxxxx.mysql.rds.aliyuncs.com
&DBInstanceId=rm-uf6wjk5xxxxxxx
&<Common request parameters>

Successful response examples

XML format

<ModifyDBInstanceSSLResponse>
	  <requestId>777C4593-8053-427B-99E2-105593277CAB</requestId></ModifyDBInstanceSSLResponse>

JSON format

{
	"requestId":"777C4593-8053-427B-99E2-105593277CAB"
}

Error codes

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