SSL to encrypt connections to RDS postgres

I think you can but then you may need to compile psycopg2 from source. See this issue for more information: sslmode=require in docker image · Issue #201 · getsentry/self-hosted · GitHub