X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 62C8B52B29 for ; Mon, 8 Aug 2005 11:25:02 -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 99510-06 for ; Mon, 8 Aug 2005 14:24:51 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by svr1.postgresql.org (Postfix) with ESMTP id 3CD5952A1B for ; Mon, 8 Aug 2005 11:24:50 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 12so14724nzp for ; Mon, 08 Aug 2005 07:24:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y65vZfNk0l+UF4j5v9orByrE6D99TvYXzf9bcWvjRq696S4M/g/KOUJtnIOWe+nGh3MeZeY6WLO+bnVL/WotPkOTWYjpoFj+zKHio370ef9dcCcZ6HWV9sHhEqAK1XD2TFI5rrSFiPOfGewB6z3t7tfG477m/DxmOTeGzhb7os0= Received: by 10.37.15.47 with SMTP id s47mr59122nzi; Mon, 08 Aug 2005 07:24:55 -0700 (PDT) Received: by 10.36.60.19 with HTTP; Mon, 8 Aug 2005 07:24:54 -0700 (PDT) Message-ID: Date: Mon, 8 Aug 2005 10:24:54 -0400 From: Mario Soto Cordones - Venezuela To: alvherre@alvh.no-ip.org, Christopher Browne , pgsql-general@postgresql.org Subject: Re: postgresql Secure Mode In-Reply-To: <20050808135640.GB26568@alvh.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050808135640.GB26568@alvh.no-ip.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.236 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200508/372 X-Sequence-Number: 81780 Hello, what comments of PAM, was alone that, a comment, since try to make it and I don't work. =20 now I detail them the carried out steps. =20 1.- make the digital certificate, and it places it in the directory it data of postgresql. =20 openssl req -new -text -out server.req =20 openssl rsa -in privkey.pem -out server.key =20 rm privkey.pem =20 openssl req -x509 -in server.req -text -key server.key -out server.crt = =20 chown postgres:postgres server.key && chmod og-rwx server.key 2.- configure postgresql.conf=20 ssl=3Dtrue password_encryption =3D 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 : > 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. >=20 > 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? >=20 > -- > Alvaro Herrera () > "Entristecido, Wutra (canci=F3n de Las Barreras) > echa a Freyr a rodar > y a nosotros al mar" >=20 --=20 cordialmente, Ing. Mario Soto Cordones