Re: sslmode=require fallback - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: sslmode=require fallback
Date
Msg-id 14b1c8c0-ad01-0b95-bdc4-1e939bc7ce20@2ndquadrant.com
Whole thread Raw
In response to Re: sslmode=require fallback  (Magnus Hagander <magnus@hagander.net>)
Responses Re: sslmode=require fallback  (Magnus Hagander <magnus@hagander.net>)
Re: sslmode=require fallback  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 7/19/16 10:00 AM, Magnus Hagander wrote:
> What could actually be useful there is to explicitly put hostnossl on
> the localhost entries. With the current defaults on the clients, that
> wouldn't break anything, and it would leave people without the
> performance issues that you run into in the default deployments. And for
> localhost it really does't make sense to encrypt -- for the local LAN
> segment that can be argued, but for localhost...

But even on localhost you ideally want a way to confirm that the server
you are connecting to is the right one, so you might want certificates.
Plus the server might want certificates from the clients.  (See also the
occasional discussion about supporting SSL over Unix-domain sockets.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: sslmode=require fallback
Next
From: Magnus Hagander
Date:
Subject: Re: sslmode=require fallback