Re: libpq: system-wide root.crt

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема Re: libpq: system-wide root.crt
Дата
Msg-id 20100819211112.GB2194@piware.de
обсуждение исходный текст
Ответ на libpq: system-wide root.crt  (Martin Pitt <mpitt@debian.org>)
Ответы Re: libpq: system-wide root.crt  (Magnus Hagander <magnus@hagander.net>)
Re: libpq: system-wide root.crt  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-bugs
Hello PostgreSQL developers,

Martin Pitt [2010-08-17  6:49 +0200]:
> I received a request to support system-wide root certificates in
> libpq. Right now it only looks in ~/.postgresql/root.crt, but since
> such certificates are usually set up system wide and be maintained by
> the sysadmins, it would be very convenient if there was a fallback
> lookup in /etc/postgresql/ or similar.

Patch attached against current git head. I tested it with both the
default case (new option not specified), as well as with
--with-ssl-root-cert-dir=/etc/postgresql-common, and confirm that in
the latter case root.crt gets picked up from
/etc/postgresql-common/ if it's not in ~/.postgresql/.

Thank you for considering,

Martin
--
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5626: Parallel pg_restore fails with "tuple concurrently updated"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: COPY FROM/TO losing a single byte of a multibyte UTF-8 sequence