Skip site navigation (1) Skip section navigation (2)

problem on ssl client authentication

From: "Luca Stancapiano" <l(dot)stancapiano(at)k-tech(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: problem on ssl client authentication
Date: 2005-07-29 17:26:30
Message-ID: 10380.80.181.111.37.1122657990.squirrel@webmail.k-tech.it (view raw or flat)
Thread:
Lists: pgsql-admin
hello.....I use postgresql 8.0 . I've created the server.key and
server.crt in this manner:

openssl req -new -nodes -keyout server.key -out server.csr

openssl req -x509 -key /home/data/server.key -in /home/data/server.csr -out
server.crt

and I put theese in my data home.

I launch postgres in this manner:

postmaster -il -p '$PGPORT' -D '$PGDATA_LOCAL' ${PGOPTS} &

and postgres starts fine. When I try to connect to myself in this mode:

psql -h localhost

I have this error:

psql: could not open certificate file "/root/.postgresql/postgresql.crt":
No such file or directory

my pg_hba.conf is:

local   all         all         ident     sameuser
hostssl    all    all     0.0.0.0     0.0.0.0         md5


may anyone tell me where I wrong?




pgsql-admin by date

Next:From: Lee WuDate: 2005-07-29 17:54:18
Subject: rows in explain
Previous:From: Steve LaneDate: 2005-07-29 17:17:42
Subject: Re: Indexes on RAM disk = insanity?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group