You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out the correct configuration to be able to connect to an AWS RDS PosgreSQL instance with enforced SSL.
Right now I'm getting:
[postgres] FATAL: no pg_hba.conf entry for host "XX.XXX.XX.XXX", user "XXXX", database "kong", SSL off, client: 172.17.0.1, server: kong
I tried fiddling with the ssl config, trying to set lua_ssl_trusted_certificate with the rds-combined-ca-bundle.pem provided by AWS. I also tried changing lua_ssl_verify_depth to 1, 2 and 10, pg_ssl = on, pg_ssl = off, pg_ssl_verify = on, pg_ssl_verify = off with various combinations, without success.
Trying to connect with the psql command line works as expected:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to figure out the correct configuration to be able to connect to an AWS RDS PosgreSQL instance with enforced SSL.
Right now I'm getting:
I tried fiddling with the ssl config, trying to set
lua_ssl_trusted_certificate
with therds-combined-ca-bundle.pem
provided by AWS. I also tried changinglua_ssl_verify_depth
to 1, 2 and 10,pg_ssl = on
,pg_ssl = off
,pg_ssl_verify = on
,pg_ssl_verify = off
with various combinations, without success.Trying to connect with the
psql
command line works as expected:this gets me to the password prompt and once logged in it works as expected.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions