Dashboard PostgreSQL RDS Configuration

Learn configure your Dashboard instance to connect to you AWS RDS Postgres Database using SSL


Download and configure the AWS RDS combined CA bundle

There are several ways achieve including the AWS RDS combined CA bundle in your Docker image for Dashboard. This method will download the bundle directly from AWS.

  • Add the below lines to your Dockerfile after the RUN apt-get update && apt-get upgrade -y step.
    # Download AWS RDS combined CA bundle
    RUN curl -o /etc/ssl/certs/rds-ca.pem https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
    # Set environment variable to tell Node to use the downloaded cert.
    ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/rds-ca.pem
  • In you FaceTec Server Dashboard's config.yaml file, in the postgres configuration block, set ssl: true
    # OPTIONAL: This is required for Amazon RDS PostgreSQL when the public CA certificates that AWS uses to sign RDS database certificates is are configured.
    # When true, this will add Add { ssl: true } to connection options.
    ssl: true