pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Richard Chen <richard@doubleprime.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to specify alternative locations for
Date: Wed, 9 Aug 2006 22:53:58 -0400 (EDT)
Message-ID: <200608100253.k7A2rwh03707@momjian.us> (raw)
In-Reply-To: <20060724154703.GF22464@plex.homeland.com>


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. +



view thread (2+ messages)

Message-ID: <200608100253.k7A2rwh03707@momjian.us>
Permalink:  ../200608100253.k7A2rwh03707@momjian.us/
Also on:    postgresql.org/message-id/200608100253.k7A2rwh03707@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, richard@doubleprime.com
  Subject: Re: How to specify alternative locations for
  In-Reply-To: <200608100253.k7A2rwh03707@momjian.us>
  References: <20060724154703.GF22464@plex.homeland.com> <200608100253.k7A2rwh03707@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox