How to specify alternative locations for postgresql.{key,crt} files?

Поиск
Список
Период
Сортировка
От Richard Chen
Тема How to specify alternative locations for postgresql.{key,crt} files?
Дата
Msg-id 20060724154703.GF22464@plex.homeland.com
обсуждение исходный текст
Ответы Re: How to specify alternative locations for  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-admin
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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Omer Mustafa
Дата:
Сообщение: Connection refused. Check that the hostname and port are correct
Следующее
От: "Erik Ferencz"
Дата:
Сообщение: ODBC connection problem