Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Free heroku database does not enable SSL validation #100

Open
mithi opened this issue Apr 5, 2021 · 0 comments
Open

Free heroku database does not enable SSL validation #100

mithi opened this issue Apr 5, 2021 · 0 comments

Comments

@mithi
Copy link
Owner

mithi commented Apr 5, 2021

Because node-postgres enables SSL validation by default while free heroku hosting doesn’t provide it automatically, you need to turn it off

heroku config:set PGSSLMODE=no-verify

IMPORTANT: This is bad practice if you have sensitive data on your database.
We don't have sensitive data on our database.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant