Abdul Ali
Abdul Ali

Reputation: 1937

AWS Elastic beanstalk RDS connection error

we are trying to connect to an RDS mysql database from an Elastic beanstalk application. it is giving an error regarding SSL certificate. am unable to understand what could be the exact reason.

currently the application is a test/dev application and used default Amazon domain . the screenshot of the error is as under:

Mysql rds ssl error

any help appreciated.

EDIT: we are able to connect to RDS fine with any RDBMS client (e.g. workbench), local code and even application deployed on another server.

Upvotes: 0

Views: 608

Answers (1)

Abdul Ali
Abdul Ali

Reputation: 1937

solved the problem by setting SSL mode to None in MySQL connection string :). as per personal understanding, the likely reason is that .Net 5.0 uses TLS 1.3 and Linux version of Amazon Beanstalk does not seem to support it (at least thats how I understand that). So at the moment disabling SSL for MySQL did the trick.

Upvotes: 0

Related Questions