aptible / support

DEPRECATED - Aptible's Support and Documentation Site
2 stars 17 forks source link

Reported in #public - needed an ssl config set to connect to postgres #129

Closed gib closed 8 years ago

gib commented 9 years ago

in order to let my aptible app connect to my aptible database, i had to set ssl mode on: aptible config:set PGSSLMODE=require --app $APP_HANDLE without that, postgres would not allow the app to connect in case it matters, i'm using nodejs & express and connecting via the pg-promise library

I could see this going in quick start guides that use postgres (like here: https://github.com/aptible/support/blob/master/source/quickstart/ruby/rails.md#4-provision-and-connect-a-database), but looking for some guidance or a confirmation.

gib commented 9 years ago

After discussing with @sandersonet and @fancyremarker in slack, will add a trouble shooting article.

See: https://support.aptible.com/topics/troubleshooting/no-pg-hba-conf-entry-for-host/

search results for "ssl postgres" in Zendesk:

wcpines commented 8 years ago

Documented elsewhere