BUG #1963: SSL certificate permission check is too strict

From: "Martin Pitt" <mpitt(at)debian(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1963: SSL certificate permission check is too strict
Date: 2005-10-13 16:26:38
Message-ID: 20051013162638.E8B56F1311@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1963
Logged by: Martin Pitt
Email address: mpitt(at)debian(dot)org
PostgreSQL version: 8.1beta3
Operating system: Debian
Description: SSL certificate permission check is too strict
Details:

Currently the postmaster requires the private SSL key file to have the same
owner as the postmaster, and no permissions for group and others. However,
this is too strict to sensibly use the certificate with ACLs, which permits
other server processes to share it.

In Debian I applied a patch which relaxes the check a bit: in addition to
the currently allowed permissions, the file might be:
- owned by root
- group-readable if the file is in group root or the postmaster group.

Since this likely affects non-Debian server installations as well, do you
consider adopting this?

Thanks!

Martin

Original Debian bug report:
http://bugs.debian.org/327901

Debian patch against 8.1beta3:
http://people.debian.org/~mpitt/09-relax-sslkey-permscheck.patch

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Bazeley 2005-10-13 16:35:54 Re: building Postgresql 7.3.10 on Mac OS X 10.4
Previous Message C Wegrzyn 2005-10-13 16:18:13 Re: BUG #1962: ECPG and VARCHAR