pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Chen <richard@doubleprime.com>
To: pgsql-admin@postgresql.org
Cc: Richard Chen <richard@doubleprime.com>
Subject: How to specify alternative locations for postgresql.{key,crt} files?
Date: Mon, 24 Jul 2006 11:47:03 -0400
Message-ID: <20060724154703.GF22464@plex.homeland.com> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <20060724154703.GF22464@plex.homeland.com>
Permalink:  ../20060724154703.GF22464@plex.homeland.com/
Also on:    postgresql.org/message-id/20060724154703.GF22464@plex.homeland.com

 · 

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: richard@doubleprime.com
  Subject: Re: How to specify alternative locations for postgresql.{key,crt} files?
  In-Reply-To: <20060724154703.GF22464@plex.homeland.com>
  References: <20060724154703.GF22464@plex.homeland.com>

* 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