From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-general@postgresql.org
Subject: Re: postgresql Secure Mode
Date: Sun, 07 Aug 2005 23:48:33 -0400
Message-ID: <m3psspytpq.fsf@mobile.int.cbbrowne.com> (raw)
References: <e9b17cde0508070536befb36c@mail.gmail.com>
> Hi,
>
> i have a probem,.
>
> I am trying to configure postgresql in sure way, I have made the
> following thing:
>
> 1. - I have created the certificate and put this in the directory it data
> 2. - given him privileges to the user postgresql for the certificate
> 3. - in the file postgresql.conf, modify the parameters ssl = true to
> use md5 = true
> 4. - in the file pg_hba.conf adds one it lines this way hostssl all
> all 192.168.0.0/255.255.255.0 md5
> 5. - stsrt postresql
>
> But when trying to connect me says that the user cannot authenticate
>
> some idea
Hmm. Are you certain you had the password for the user stored
somewhere?
e.g...
1. Stored in the file $HOME/.pgpass?
2. Stored in some relevant environment variable ($PGPASS)?
3. Included into the DSN (e.g. - 'dbname=this password=something')
Having the cert doesn't automatically authenticate anything...
--
let name="cbbrowne" and tld="acm.org" in String.concat "@" [name;tld];;
http://cbbrowne.com/info/rdbms.html
Rules of the Evil Overlord #153. "My Legions of Terror will be an
equal-opportunity employer. Conversely, when it is prophesied that no
man can defeat me, I will keep in mind the increasing number of
non-traditional gender roles." <http://www.eviloverlord.com/;
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: cbbrowne@acm.org, pgsql-general@postgresql.org
Subject: Re: postgresql Secure Mode
In-Reply-To: <m3psspytpq.fsf@mobile.int.cbbrowne.com>
References: <e9b17cde0508070536befb36c@mail.gmail.com> <m3psspytpq.fsf@mobile.int.cbbrowne.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