Using SSL/TLS to encrypt a connection to a DB instance
You can use Secure Socket Layer (SSL) or Transport Layer Security (TLS) from your application to encrypt a connection to a DB instance running MariaDB, Microsoft SQL Server, MySQL, Oracle, or PostgreSQL.
SSL/TLS connections provide one layer of security by encrypting data that moves between your client and a DB instance. Using a server certificate provides an extra layer of security by validating that the connection is being made to an Amazon RDS DB instance. It does so by checking the server certificate that is automatically installed on all DB instances that you provision.
Each DB engine has its own process for implementing SSL/TLS. To learn how to implement SSL/TLS for your DB instance, use the link following that corresponds to your DB engine:
All certificates are only available for download using SSL/TLS connections.
To get a certificate bundle that contains both the intermediate and
root certificates for all AWS Regions, download from
https://truststore.pki.rds.amazonaws.com/global/global-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://truststore.pki.rds.amazonaws.com/global/global-bundle.p7b
Amazon RDS Proxy uses certificates from the AWS Certificate Manager (ACM). If you are using RDS Proxy, you don't need to download Amazon RDS certificates or update applications that use RDS Proxy connections. For more information about using TLS/SSL with RDS Proxy, see Using TLS/SSL with RDS Proxy.
Certificate bundles for AWS Regions
To get a certificate bundle that contains both the intermediate and root certificates for an AWS Region, download from the link for the AWS Region in the following table.
AWS GovCloud (US) certificates
To get a certificate bundle that contains both the intermediate and
root certificates for the AWS GovCloud (US) Regions, download from
https://truststore.pki.us-gov-west-1.rds.amazonaws.com/global/global-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://truststore.pki.us-gov-west-1.rds.amazonaws.com/global/global-bundle.p7b
To get a certificate bundle that contains both the intermediate and root certificates for an AWS GovCloud (US) Region, download from the link for the AWS GovCloud (US) Region in the following table.
AWS GovCloud (US) Region | Certificate bundle (PEM) | Certificate bundle (PKCS7) |
---|---|---|
AWS GovCloud (US-East) | us-gov-east-1-bundle.pem |
us-gov-east-1-bundle.p7b |
AWS GovCloud (US-West) | us-gov-west-1-bundle.pem |
us-gov-west-1-bundle.p7b |