X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id D47E79FB30C for ; Wed, 9 Aug 2006 23:54:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 21702-02 for ; Thu, 10 Aug 2006 02:53:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 9CC209FB2D5 for ; Wed, 9 Aug 2006 23:53:58 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id k7A2rwh03707; Wed, 9 Aug 2006 22:53:58 -0400 (EDT) From: Bruce Momjian Message-Id: <200608100253.k7A2rwh03707@momjian.us> Subject: Re: How to specify alternative locations for In-Reply-To: <20060724154703.GF22464@plex.homeland.com> To: Richard Chen Date: Wed, 9 Aug 2006 22:53:58 -0400 (EDT) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL122k (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/123 X-Sequence-Number: 22666 I suggest you use symlinks to accomplish this. I don't think we have enough demand to make this configurable. --------------------------------------------------------------------------- Richard Chen wrote: > Hi, > > The documentation says the locations for these > files should be in ~/.postgresql. But we would like > to use DBD::Pg and/or psql from within apache which > runs as user nobody. We don't have a special home dir > for account nobody. Is there a way to specify alternative > locations for these files other than ~/.postgresql/? > > In most unix apps one can specify either via > command line option or environment variable the locations > for such files. Hard coding this to > > ~/.postgresql/postgresql.key > ~/.postgresql/postgresql.crt > > seems to be very restrictive to me. > > Also, what if I have several different ssl enforced > postgres servers? Can I lump all the key/crt files in > the above files? Can I have separate files for different > servers? > > Thanks > > Richard > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +