aws / aws-lambda-base-images

Apache License 2.0
646 stars 107 forks source link

AWS RDS SSL issue: rds-ca-rsa2048-g1 rds-ca-rsa4096-g1 rds-ca-ecc384-g1 missing: unable to get local issuer certificate #123

Open zumby opened 7 months ago

zumby commented 7 months ago

rds-ca-rsa2048-g1 rds-ca-rsa4096-g1 rds-ca-ecc384-g1 missing inside the lambda/python:3.11 docker image. but also, most likely others as well.

We use sequelize with Node.js to run db-migration by AWS Lambda that connects to RDS that uses latest SSL certificates (rds-ca-rsa2048-g1) in our case

Error logs:

Sequelize CLI [Node: 16.20.2, CLI: 6.6.2, ORM: 6.34.0]
Loaded configuration file "../../tmp/config/config.json".
ERROR: unable to get local issuer certificate

Workarounds:

Please fix this :)

nicwise commented 5 months ago

This appears to be in the non-docker lambda node20 "image", so I've had to pull down, and store, the cert. Should be in the base.