pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jose Berardo <joseberardo@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Münstermann <mmuenst@gmx.de>
To: Bruce Momjian <bruce@momjian.us>
To: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL with SSL
Date: Fri, 16 Apr 2010 12:15:13 -0300
Message-ID: <h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com> (raw)
In-Reply-To: <24692.1271367015@sss.pgh.pa.us>
References: <201004150206.o3F26U427784@momjian.us>
	<20100415074542.137300@gmx.net>
	<j2o9009a4451004151422r4cde72f4o868d4e7017cfab5b@mail.gmail.com>
	<24692.1271367015@sss.pgh.pa.us>

Hello,



On Thu, Apr 15, 2010 at 6:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jose Berardo <joseberardo@gmail.com> writes:
>>>> - Is it possible to store the server.key in a ciphered  file with
>
>>> No.
>
>> I believe that it may be a good idea, it may bring another security level,
>
> Not really.
>
>> Just saving the private key file inside the cluster with no privilegies for
>> other users (the server suggests 0600 mask for it) is still sufficient to
>> protected the key?
>
> If someone can access that file, they can also attach to the running
> server process and pull the decrypted key out of it.  In any case,
> providing the server with the key to decrypt the ssl key is not going
> to be convenient in operation.  You're not going to want to store that
> key on disk are you?  Do you want somebody around to manually provide
> it every time the server restarts?  That gets old pretty fast, when
> all it's buying you is a largely-imaginary security gain.
>
>                        regards, tom lane
>

Thanks Tom. Your few words were a very elucidative explanation.
I thought that attacking the running server process was much more
difficult than just open a file, and the needs of someone to provide
the symmetric key which will open the private key was just a question
of trade-off (security vs availability).


-- 
Regards,

Jose Berardo
Especializa Treinamentos
www.especializa.com.br
+55 81 3465.0032



view thread (11+ messages)  latest in thread

Message-ID: <h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com>
Permalink:  ../h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com/
Also on:    postgresql.org/message-id/h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com

 · 

reply

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: joseberardo@gmail.com, tgl@sss.pgh.pa.us, mmuenst@gmx.de, bruce@momjian.us
  Subject: Re: PostgreSQL with SSL
  In-Reply-To: <h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com>
  References: <201004150206.o3F26U427784@momjian.us> <20100415074542.137300@gmx.net> <j2o9009a4451004151422r4cde72f4o868d4e7017cfab5b@mail.gmail.com> <24692.1271367015@sss.pgh.pa.us> <h2m9009a4451004160815v9e244b70u3e3bb71c5d01a986@mail.gmail.com>

* 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