X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B904D52972 for ; Wed, 3 Aug 2005 14:01:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14038-03 for ; Wed, 3 Aug 2005 17:01:55 +0000 (GMT) Received: from ulisses.local.k-tech.it (62-101-92-221.ip.fastwebnet.it [62.101.92.221]) by svr1.postgresql.org (Postfix) with SMTP id 7F88952932 for ; Wed, 3 Aug 2005 14:01:54 -0300 (ADT) Received: (qmail 2423 invoked by uid 72); 3 Aug 2005 16:57:04 -0000 Received: from 217.221.180.103 (SquirrelMail authenticated user k-tech-it-l.stancapiano) by webmail.k-tech.it with HTTP; Wed, 3 Aug 2005 18:57:04 +0200 (CEST) Message-ID: <1861.217.221.180.103.1123088224.squirrel@webmail.k-tech.it> Date: Wed, 3 Aug 2005 18:57:04 +0200 (CEST) Subject: ssl problem with postgres 8.0 From: "Luca Stancapiano" To: pgsql-ports@postgresql.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.238 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200508/1 X-Sequence-Number: 2176 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?