Troubleshooting SSL Configuration for AWS Lambda to Amazon RDS PostgreSQL Connection

0

I've set up an AWS Lambda function to connect to a private Amazon RDS PostgreSQL instance within the same VPC. The Lambda function and RDS instance are both properly placed in the VPC, and I've established the necessary security group rules. However, when attempting to connect, I'm encountering the following error: "errorMessage": "sslmode value "require" invalid when SSL support is not compiled in\n", "errorType": "OperationalError" My Lambda code includes SSL-related parameters, and I've included the required .pem certificate in the deployment package. Could you please assist me in understanding why this error is occurring and guide me on the correct way to configure SSL for the RDS connection within the Lambda function?

1 Answer
-1

Can you tell me why RDS need SSL Certificate?

Afshaar
answered a year ago