From: Scott Marlowe <scott.marlowe@gmail.com>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: SSL and md5 password?
Date: Wed, 29 Oct 2008 12:49:26 -0600
Message-ID: <dcc563d10810291149w520c718v2a2557f183aa604@mail.gmail.com> (raw)
In-Reply-To: <4544e0330810291007p5b68fba2o4ee782b4d4f92878@mail.gmail.com>
References: <4544e0330810291007p5b68fba2o4ee782b4d4f92878@mail.gmail.com>
On Wed, Oct 29, 2008 at 11:07 AM, Peter Koczan <pjkoczan@gmail.com> wrote:
> Hi all,
>
> I'm looking to add an md5-based user to a postgres server, and I can't
> seem to get psql to connect using SSL. Normally I use Kerberos to
> connect, and that works flawlessly with SSL. I'd much prefer to use
> SSL connections, so I'm wondering if there's something I'm doing
> wrong.
>
> Here's what happens with a Kerberos connection...works just fine,
> connects using SSL:
>
> $ /s/postgresql/bin/psql -h dumbo.cs.wisc.edu -p 5432 koczan_test
> Welcome to psql 8.3.4, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help with psql commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
>
> koczan_test=>
>
> And an md5 connection...
>
> $ /s/postgresql/bin/psql -h dumbo.cs.wisc.edu -p 5432 -U test_md5 koczan_test
> Password for user test_md5:
> psql: FATAL: no pg_hba.conf entry for host "128.105.162.36", user
> "test_md5", database "koczan_test", SSL off
According to this, you're trying to connect with SSL off, right? I
don't think you've got any matching lines for that in your
pg_hba.conf. But I could be reading that wrong.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, pjkoczan@gmail.com
Subject: Re: SSL and md5 password?
In-Reply-To: <dcc563d10810291149w520c718v2a2557f183aa604@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox