Help Center > > User Guide> Working with RDS for MySQL> Data Security> Configuring an SSL Connection

Configuring an SSL Connection

Updated at: Mar 17, 2020 GMT+08:00

Secure Socket Layer (SSL) is an encryption-based Internet security protocol for establishing an encrypted link between a server and a client. It provides privacy, authentication, and integrity to Internet communications. It has the following functions:

  • Authenticates users and servers, ensuring that data is sent to the correct clients and servers.
  • Encrypts data, preventing it from being intercepted during transmission.
  • Ensures data integrity during transmission.

SSL is disabled by default for MySQL DB instances. You can enable SSL by referring to Enabling SSL. SSL encrypts connections to databases but it increases the connection response time and CPU usage. Therefore, you are advised not to enable SSL.

You can connect to a DB instance through a common connection or an SSL connection.

  • If SSL is enabled, you can connect to a database using SSL, which is more secure.
  • If SSL is disabled, you can connect to a database using a common connection.

Enabling or disabling SSL will cause DB instances to reboot. Exercise caution when performing this operation.

Enabling SSL

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click RDS. The RDS console is displayed.
  4. On the Instance Management page, click the target DB instance.
  5. In the DB Information area on the Basic Information page, click in the SSL field.
  6. In the displayed dialog box, click OK.
  7. Wait for some seconds and check that SSL has been enabled on the Basic Information page.

Disabling SSL

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click RDS. The RDS console is displayed.
  4. On the Instance Management page, click the target DB instance.
  5. In the DB Information area on the Basic Information page, click in the SSL field.
  6. In the displayed dialog box, click OK.
  7. Wait for some seconds and check that SSL has been disabled on the Basic Information page.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel