Related issue https://github.com/brianc/node-postgres/issues/1843 Workaround: Setting `PGSSLMODE` to `no-verify` on the Heroku using their config vars.