Based on the error message you’re receiving, it appears that there might be a configuration issue related to SSL connections. Here are a few suggestions to help resolve this:
Enable SSL for the database connection:
Try adding the following environment variable to your Docker configuration:
Ensure that your RDS instance is configured to allow connections from your Docker container’s IP address. The error message mentions an IP (172.31.46.212) which might be your container’s IP. Make sure this IP is allowed in your RDS security group.
Double-check your RDS endpoint. The host you provided (co.clswme2q-1.rds.amazonaws.com) seems unusual for an RDS endpoint. Typically, RDS endpoints are in the format: <instance-name>.<random-string>.<region>.rds.amazonaws.com. Verify that you’re using the correct endpoint.
Remember to restart your n8n container after making these changes to the environment variables.