Re: libpq: system-wide root.crt - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: libpq: system-wide root.crt
Date
Msg-id AANLkTinUXZf7KC1kSUuY1=UAYuysYqy4co5577WrQQrW@mail.gmail.com
Whole thread Raw
In response to Re: libpq: system-wide root.crt  (Martin Pitt <mpitt@debian.org>)
Responses Re: libpq: system-wide root.crt  (Martin Pitt <mpitt@debian.org>)
List pgsql-bugs
On Thu, Aug 19, 2010 at 23:11, Martin Pitt <mpitt@debian.org> wrote:
> Hello PostgreSQL developers,
>
> Martin Pitt [2010-08-17 =A06: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=3D/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/.

Hi!

Please add this to https://commitfest.postgresql.org/action/commitfest_view=
/open

--=20
=A0Magnus Hagander
=A0Me: http://www.hagander.net/
=A0Work: http://www.redpill-linpro.com/

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Automated analyze process fails with custom function, which works perfect as regular user (8.4.2).
Next
From: Martin Pitt
Date:
Subject: Re: libpq: system-wide root.crt