Using AWS Certificate bundles in app

I’m working on deploying my app and I’m using AWS RDS PostgreSQL as my managed DB. It has SSL enabled, and I’m using the AWS certificate bundles to connect to it.
In my application, I am setting an environment variable for this case:
NODE_EXTRA_CA_CERTS="/.../global-bundle.pem"
I am unsure how to do this with the deployed application, if there is a way to include it in the flyio machines?

You’ll need to update your Dockerfile to either download the CA bundle into the image, or copy it from your local workspace into the image.

COPY ./.fly/rds-root.ca.pem /app/rds-root.ca.pem
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.