Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can’t connect to a PostgreSQL server that requires SSL #7

Open
natesilva opened this issue Jan 21, 2014 · 0 comments
Open

Can’t connect to a PostgreSQL server that requires SSL #7

natesilva opened this issue Jan 21, 2014 · 0 comments

Comments

@natesilva
Copy link

If you connect to a PostgreSQL server that requires SSL, you get:

no pg_hba.conf entry for host "192.168.1.2", user "nate", database "sales", SSL off

The official PostgreSQL libraries default to sslmode=prefer, so SSL should always work unless you manually disable it (sslmode=disable).

However, I don’t know much about Ruby. I wonder if the postgres-pr library used here even supports SSL.

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

No branches or pull requests

1 participant