From: Mario Soto Cordones - Venezuela <msotocl@gmail.com>
To: alvherre@alvh.no-ip.org, Christopher Browne <cbbrowne@acm.org>
To: pgsql-general@postgresql.org
Subject: Re: postgresql Secure Mode
Date: Mon, 8 Aug 2005 10:24:54 -0400
Message-ID: <e9b17cde050808072431104ecd@mail.gmail.com> (raw)
In-Reply-To: <20050808135640.GB26568@alvh.no-ip.org>
References: <e9b17cde0508070536befb36c@mail.gmail.com>
<m3psspytpq.fsf@mobile.int.cbbrowne.com>
<e9b17cde0508080544154fdc6b@mail.gmail.com>
<20050808135640.GB26568@alvh.no-ip.org>
Hello, what comments of PAM, was alone that, a comment, since try to
make it and I don't work.
now I detail them the carried out steps.
1.- make the digital certificate, and it places it in the directory
it data of postgresql.
openssl req -new -text -out server.req
openssl rsa -in privkey.pem -out server.key
rm privkey.pem
openssl req -x509 -in server.req -text -key server.key -out server.crt
chown postgres:postgres server.key && chmod og-rwx server.key
2.- configure postgresql.conf
ssl=true
password_encryption = true
3.- configure pg_hba.conf
hostssl all all 192.168.0.0 255.255.255.0 MD5
4.- service postgresql stop
5.- service postgresql start
but when I try to connect myself for example from an application EMS
postgresql manager by means of SSL, says that it cannot authenticate
in user
Thank, you very much
2005/8/8, Alvaro Herrera <alvherre@alvh.no-ip.org>:
> On Mon, Aug 08, 2005 at 08:44:44AM -0400, Mario Soto Cordones - Venezuela wrote:
> > Hi ,
> > not in fact I don't have a password file, I wanted to use
> > autentificacion PAM, I have attempted it but I have not gotten it, on
> > the other hand I don't understand that of the passwords file.
>
> Can you post step-by-step instructions on how you set your system up?
> You hadn't mentioned PAM in your first report, and you didn't say what
> certificate you created and how. Also, you didn't show the relevant
> server log extract. Did you create a client certificate? Did you
> create the PAM user in Postgres?
>
> --
> Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
> "Entristecido, Wutra (canción de Las Barreras)
> echa a Freyr a rodar
> y a nosotros al mar"
>
--
cordialmente,
Ing. Mario Soto Cordones
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-general@postgresql.org
Cc: msotocl@gmail.com, cbbrowne@acm.org
Subject: Re: postgresql Secure Mode
In-Reply-To: <e9b17cde050808072431104ecd@mail.gmail.com>
References: <e9b17cde0508070536befb36c@mail.gmail.com> <m3psspytpq.fsf@mobile.int.cbbrowne.com> <e9b17cde0508080544154fdc6b@mail.gmail.com> <20050808135640.GB26568@alvh.no-ip.org> <e9b17cde050808072431104ecd@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