Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJls5-0003a3-G0 for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Nov 2018 20:53:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJls3-0000Qo-1c for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Nov 2018 20:53:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJls2-0000Pj-MO for pgsql-hackers@lists.postgresql.org; Mon, 05 Nov 2018 20:53:14 +0000 Received: from xvm-110-146.dc2.ghst.net ([46.226.110.146] helo=fetter.org) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJlry-0003T9-Sy for pgsql-hackers@postgresql.org; Mon, 05 Nov 2018 20:53:12 +0000 Received: by fetter.org (Postfix, from userid 1001) id A5A0241D24; Mon, 5 Nov 2018 21:53:08 +0100 (CET) Date: Mon, 5 Nov 2018 21:53:08 +0100 From: David Fetter To: Robert Haas Cc: Peter Eisentraut , "pgsql-hackers@postgresql.org" Subject: Re: settings to control SSL/TLS protocol version Message-ID: <20181105205307.GA15572@fetter.org> References: <1822da87-b862-041a-9fc2-d0310c3da173@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Nov 05, 2018 at 03:01:58PM -0500, Robert Haas wrote: > On Mon, Oct 1, 2018 at 4:21 PM Peter Eisentraut > wrote: > > There have been some requests to be able to select the TLS versions > > PostgreSQL is using. We currently only hardcode that SSLv2 and SSLv3 > > are disabled, but there is also some interest now in disabling TLSv1.0 > > and TLSv1.1. Also, I've had some issues in some combinations with the > > new TLSv1.3, so there is perhaps also some use for disabling at the top end. > > > > Attached is a patch that implements this. For example: > > > > ssl_min_protocol_version = 'TLSv1' > > ssl_max_protocol_version = 'any' > > +1. Maybe it would make sense to spell 'any' as the empty string. > Intuitively, it makes more sense to me to think about there being no > maximum than to think about the maximum being anything. ..and now, I'm finally beginning to see the reasoning that led Oracle to conflate NULL and empty string. Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate