Skip to content

Enable SSL on a DBaaS instance

View as Markdown

Turn on SSL to encrypt the connection between your client and a DBaaS instance. You end up with SSL on and its CA certificate on your machine, ready for your client.

Check that SSL is still off: a new DBaaS instance has SSL on from the start. If the CA Certificate row on its DBaaS Details tab shows Download, SSL is on; go to Download the CA certificate.

  1. From the DBaaS instance’s More Actions menu, click Enable SSL.
  2. Click Confirm.

SSL is on once the CA Certificate row shows Download.

On the DBaaS instance’s DBaaS Details tab, under Connection Details, click Download in the CA Certificate row. The file is named ca-cert.pem. Point your client at this file to connect over SSL. In a third-party application, also turn on SSL in its own settings and point it at this file.

Disk encryption is a separate setting, which secures the data stored on disk; see DBaaS encryption and SSL.

SSL is now on for the DBaaS instance, and you have its CA certificate. Next, connect over SSL; see Connect to a DBaaS instance. A Read Replica needs SSL on the primary; see Create a Read Replica. If a connection reports a certificate error, see Troubleshooting DBaaS.