Point Heroku application to AWS RDS database

前端 未结 3 1711
深忆病人
深忆病人 2020-12-29 12:41

I need to point my Heroku application to my AWS RDS database. My RDS database is up and running and has a security group with 0.0.0.0/0 access.

Currently, I\'ve rem

3条回答
  •  不思量自难忘°
    2020-12-29 12:49

    I did exactly the same that Andy G answer said.

    However I ran into the following error:

    no pg_hba.conf entry for host "XX.XX.XX.XX", user "username", database "dbname", SSL off

    To fix this issue on Configure Heroku to refer to root certificate step 2:

    Instead of adding ?sslrootcert=rds-combined-ca-bundle.pem&sslmode=require

    add ?ssl=true&sslrootcert=rds-combined-ca-bundle.pem&sslmode=require

提交回复
热议问题