mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
With rds.force_ssl set to 1 in a PostgreSQL instance's DB parameter group, or in an Aurora PostgreSQL cluster's DB cluster parameter group, the RDS auth proxy refuses a startup that did not negotiate TLS with FATAL "no pg_hba.conf entry for host ..., no encryption" (SQLSTATE 28000), before the password exchange and without opening a backend connection. The value is read from the current parameter group on every new connection, as the parameter is dynamic on AWS. On Aurora it comes from the cluster parameter group only, looked up in the account and Region the relay ARN names, for the cluster endpoint and member endpoints. RdsRequests.createPostgresInstance takes an optional DB parameter group, and the docs give the RDS and Aurora PostgreSQL versions whose default groups force SSL. Closes #8641