From: Radoslaw Stachowiak <radek@alter.pl>
To: postgresql <pgsql-admin@postgresql.org>
Subject: Re: SSL Mode
Date: Mon, 23 Dec 2002 19:59:11 +0100
Message-ID: <20021223185911.GE3728@blue.alter.pl> (raw)
In-Reply-To: <200212231842.gBNIgRo02712@candle.pha.pa.us>
References: <20021223133733.P72978-100000@m20.unixathome.org>
<200212231842.gBNIgRo02712@candle.pha.pa.us>
*** Bruce Momjian <pgman@candle.pha.pa.us> [13:42 Mon 23.Dec]:
> > > > -rw-r--r-- 1 postgres postgres 3223 Dec 18 17:10 server.crt
> > > > -rw-r--r-- 1 postgres postgres 887 Dec 18 17:10 server.key
> > >
> > > I think it wants the private key file to be mode 600 or less --- a
> > > world-readable private key isn't very private, hmm?
> >
> > Is this a good candidate for error message improvement?
>
> Yes. I will take care of it.
and one more suggestion, as this feature is a little bit to strong IMHO.
Common practice for such files (private keys) is to make them owned by
root user and postgres group with 640 mode. Root is an example of user
which has right to change keys. group readable flag is necesary for
postgres for accessing it, while write permission is not.
its not possible to use such protection schema with current pgsql, while
protection level is the same with both solution.
.radek.
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: radek@alter.pl
Subject: Re: SSL Mode
In-Reply-To: <20021223185911.GE3728@blue.alter.pl>
References: <20021223133733.P72978-100000@m20.unixathome.org> <200212231842.gBNIgRo02712@candle.pha.pa.us> <20021223185911.GE3728@blue.alter.pl>
* 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