This is a feature request for rdsconn to set that host address, so that the hostname can match the actual RDS hostname, and the client code can then do X.509 certificate verification (sslmode=verify-full).
A related tweak would be to support passing sslrootcert as the path to the RDS root CA.
Just FYI the EC2 Instance Connect service can no longer be used for ports other than 22 and 3389 (see #5). I'll keep this issue open as a feature request in case the restriction is removed in the future.
According to https://www.postgresql.org/docs/15/libpq-connect.html#LIBPQ-PARAMKEYWORDS,
psql
lets you set ahostaddr
to bypass the DNS lookup.This is a feature request for
rdsconn
to set that host address, so that the hostname can match the actual RDS hostname, and the client code can then do X.509 certificate verification (sslmode=verify-full
).A related tweak would be to support passing
sslrootcert
as the path to the RDS root CA.