Re: host & hostssl entries in single pg_hba.conf

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: host & hostssl entries in single pg_hba.conf
Date: 2004-04-12 13:53:52
Message-ID: 9518.1081778032@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"A.Bhuvaneswaran" <bhuvan(at)symonds(dot)net> writes:
> I wish to have host & hostssl entries in single pg_hba.conf file. If ssl
> is set to true in postgresql.conf, even though we have host entry in
> pg_hba.conf, ssl connection is established. Is it a bug or am i doing
> something wrong?

That is the intended behavior. In 7.4 you can control from the client
side whether libpq will try SSL or non-SSL first, but AFAIR the 7.3
client will always try SSL first if enabled.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Treat 2004-04-12 21:44:31 Re: Location of a new column
Previous Message A.Bhuvaneswaran 2004-04-12 12:00:53 host & hostssl entries in single pg_hba.conf