Re: pg_hba.conf

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Angel Todorov <atodorov(at)acm(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_hba.conf
Date: 2003-09-30 11:56:08
Message-ID: Pine.LNX.4.21.0309301250560.12221-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 30 Sep 2003, Angel Todorov wrote:

> Hello, sometimes I get a strange error from postgresql when I try to
> connect using ssl to the server:
>
> LOG: parse_hba: invalid syntax in pg_hba.conf file at line 46, token
> "hostssl"
> FATAL: Missing or erroneous pg_hba.conf file, see postmaster log for
> details
>
> The contents of the pg_hba.conf file are
>
> hostssl dnet att 172.16.13.40 255.255.255.255 trust

In 7.3 and less ssl connections fail if a host line matches before the hostssl
line. At least I think that's the situation, there is definitely something
there that will make a ssl connection get rejected even if there is an
appropiate entry in pg_hba.conf

This works more sensibly in 7.4 I believe.

--
Nigel J. Andrews

In response to

  • pg_hba.conf at 2003-09-30 08:43:19 from Angel Todorov

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2003-09-30 12:00:07 Re: ADD FOREIGN KEY
Previous Message Peter Eisentraut 2003-09-30 11:47:01 Re: pg_hba.conf