In your database instance's 'Parameter Group,' change the value of rds.force_ssl to 0, restart the instance, and try to establish the connection again
source: https://github.com/dbeaver/dbeaver/issues/21616#issuecomment-1777371491