Download an SSL certificate for your Lightsail managed database - Amazon Lightsail

Download an SSL certificate for your Lightsail managed database

You can use Secure Socket Layer (SSL) or Transport Layer Security (TLS) from your application to encrypt a connection to a managed database in Amazon Lightsail running MySQL, or PostgreSQL. Each DB engine has its own process for implementing SSL/TLS. For more information, see Using SSL to connect to your MySQL database or Using SSL to connect to your PostgreSQL database.

Note

The certificates available for download are labeled for Amazon Relational Database Service (Amazon RDS), but also work for managed databases in Lightsail.

Certificate bundles for all AWS Regions

To get a certificate bundle that contains both the intermediate and root certificates for all AWS Regions, or if your application is on Microsoft Windows and requires a PKCS7 file, see Certificate bundles for all AWS Regions in the Amazon Relational Database Service User Guide.

This root certificate is a trusted root entity and should work in most cases. However, it might fail if your application doesn't accept certificate chains. If your application doesn't accept certificate chains, continue to the next section of this document.

Certificate bundles for specific AWS Regions

To get a certificate bundle that contains both the intermediate and root certificates for a specific AWS Region, see Certificate bundles for specific AWS Regions in the Amazon Relational Database Service User Guide.