Configuring an SSL Connection

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 Relational Database Service. 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 Yes.
  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 Relational Database Service. 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 Yes.
  7. Wait for some seconds and check that SSL has been disabled on the Basic Information page.