Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DC300475E2E for ; Mon, 23 Dec 2002 13:42:46 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 8D8AF4758F1 for ; Mon, 23 Dec 2002 13:42:45 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gBNIgRo02712; Mon, 23 Dec 2002 13:42:27 -0500 (EST) From: Bruce Momjian Message-Id: <200212231842.gBNIgRo02712@candle.pha.pa.us> Subject: Re: SSL Mode In-Reply-To: <20021223133733.P72978-100000@m20.unixathome.org> To: Dan Langille Date: Mon, 23 Dec 2002 13:42:27 -0500 (EST) Cc: Tom Lane , Rob Abernethy IV , postgresql X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/279 X-Sequence-Number: 6774 Dan Langille wrote: > On Mon, 23 Dec 2002, Tom Lane wrote: > > > "Rob Abernethy IV" writes: > > > I cannot get the postmaster to start up in SSL mode. I receive the following > > > error: > > > bad permissions on private key file (/var/lib/pgsql/data/server.key) > > > > > -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. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073