Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 053B6475AE6 for ; Mon, 23 Dec 2002 13:59:13 -0500 (EST) Received: from mail.alter.pl (mail.alter.pl [212.244.165.34]) by postgresql.org (Postfix) with ESMTP id 603C54758F1 for ; Mon, 23 Dec 2002 13:59:12 -0500 (EST) Received: by mail.alter.pl (Postfix, from userid 500) id 63BB27C018; Mon, 23 Dec 2002 19:59:11 +0100 (CET) Date: Mon, 23 Dec 2002 19:59:11 +0100 From: Radoslaw Stachowiak To: postgresql Subject: Re: SSL Mode Message-ID: <20021223185911.GE3728@blue.alter.pl> Mail-Followup-To: postgresql References: <20021223133733.P72978-100000@m20.unixathome.org> <200212231842.gBNIgRo02712@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <200212231842.gBNIgRo02712@candle.pha.pa.us> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/280 X-Sequence-Number: 6775 *** Bruce Momjian [13:42 Mon 23.Dec]: > > > > -rw-r--r-- 1 postgres postgres 3223 Dec 18 17:10 server.crt > > > > -rw-r--r-- 1 postgres postgres 887 Dec 18 17:10 server.key > > > > > > I think it wants the private key file to be mode 600 or less --- a > > > world-readable private key isn't very private, hmm? > > > > Is this a good candidate for error message improvement? > > Yes. I will take care of it. and one more suggestion, as this feature is a little bit to strong IMHO. Common practice for such files (private keys) is to make them owned by root user and postgres group with 640 mode. Root is an example of user which has right to change keys. group readable flag is necesary for postgres for accessing it, while write permission is not. its not possible to use such protection schema with current pgsql, while protection level is the same with both solution. .radek.