Amazon Relational Database Service
User Guide (API Version 2014-10-31)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Using SSL to Encrypt a Connection to a DB Instance

You can use SSL from your application to encrypt a connection to a DB instance running MySQL, MariaDB, SQL Server, Oracle, or PostgreSQL. Each DB engine has its own process for implementing SSL. To learn how to implement SSL for your DB instance, use the link following that corresponds to your DB engine:

Note

All certificates are only available for download using SSL connections.

To get a root certificate that works for all AWS Regions, download from one of these locations:

This root certificate is a trusted root entity and should work in most cases but might fail if your application doesn't accept certificate chains. If your application doesn't accept certificate chains, download the AWS Region–specific certificate from the list of intermediate certificates found later in this section.

To get a certificate bundle that contains both the intermediate and root certificates, download from https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem.

If your application is on Microsoft Windows and requires a PKCS7 file, you can download the PKCS7 certificate bundle. This bundle contains both the intermediate and root certificates at https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.p7b.

Intermediate Certificates

You might need to use an intermediate certificate to connect to your AWS Region. For example, you must use an intermediate certificate to connect to the AWS GovCloud (US-West) Region using SSL. If you need an intermediate certificate for a particular AWS Region, download the certificate from the following table.

AWS Region CA-2019 CA-2015
Asia Pacific (Hong Kong) rds-ca-2019-ap-east-1.pem

No certificate available

Asia Pacific (Mumbai) rds-ca-2019-ap-south-1.pem rds-ca-2015-ap-south-1.pem
Asia Pacific (Tokyo) No certificate available rds-ca-2015-ap-northeast-1.pem
Asia Pacific (Seoul) rds-ca-2019-ap-northeast-2.pem rds-ca-2015-ap-northeast-2.pem
Asia Pacific (Osaka-Local) No certificate available rds-ca-2015-ap-northeast-3.pem
Asia Pacific (Singapore) No certificate available rds-ca-2015-ap-southeast-1.pem
Asia Pacific (Sydney) No certificate available rds-ca-2015-ap-southeast-2.pem
Canada (Central) rds-ca-2019-ca-central-1.pem rds-ca-2015-ca-central-1.pem
EU (Frankfurt) rds-ca-2019-eu-central-1.pem rds-ca-2015-eu-central-1.pem
EU (Ireland) rds-ca-2019-eu-west-1.pem rds-ca-2015-eu-west-1.pem
EU (London) No certificate available rds-ca-2015-eu-west-2.pem
EU (Paris) No certificate available rds-ca-2015-eu-west-3.pem
EU (Stockholm) No certificate available rds-ca-2015-eu-north-1.pem
Middle East (Bahrain) rds-ca-2019-me-south-1.pem

No certificate available

South America (São Paulo) rds-ca-2019-sa-east-1.pem rds-ca-2015-sa-east-1.pem
US East (N. Virginia) No certificate available rds-ca-2015-us-east-1.pem
US East (Ohio) No certificate available rds-ca-2015-us-east-2.pem
US West (N. California) rds-ca-2019-us-west-1.pem rds-ca-2015-us-west-1.pem
US West (Oregon) No certificate available rds-ca-2015-us-west-2.pem

You can download the intermediate certificate for the China (Beijing) Region or China (Ningxia) Region from the following locations:

China (Beijing) (2019)

China (Beijing) (2014)

China (Ningxia) (2017)

AWS GovCloud (US) Certificates

You can download a root certificate for the AWS GovCloud (US) Regions at https://s3-us-gov-west-1.amazonaws.com/rds-downloads/rds-GovCloud-Root-CA-2017.pem.

To get a certificate bundle that contains both the intermediate and root certificates for the AWS GovCloud (US) Regions, download from https://s3-us-gov-west-1.amazonaws.com/rds-downloads/rds-combined-ca-us-gov-bundle.pem.

You can download the intermediate certificate for an AWS GovCloud (US) Region from the following list:

AWS GovCloud (US-East) (CA-2017)

AWS GovCloud (US-West) (CA-2017)

AWS GovCloud (US-West) (CA-2012)