Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jooGu-0003BS-FC for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jun 2020 13:20:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jooGs-0003xZ-DA for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jun 2020 13:19:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jooGs-0003xS-6I for pgsql-hackers@lists.postgresql.org; Fri, 26 Jun 2020 13:19:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jooGk-0007sh-4I for pgsql-hackers@postgresql.org; Fri, 26 Jun 2020 13:19:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 05QDJhXT2339797; Fri, 26 Jun 2020 09:19:44 -0400 From: Tom Lane To: Daniel Gustafsson cc: Magnus Hagander , Peter Eisentraut , pgsql-hackers Subject: Re: should libpq also require TLSv1.2 by default? In-reply-to: References: <4FBC50DB-599A-42AA-90C8-3051E3A748BB@yesql.se> <2305871.1593125045@sss.pgh.pa.us> Comments: In-reply-to Daniel Gustafsson message dated "Fri, 26 Jun 2020 14:33:04 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2339795.1593177583.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 26 Jun 2020 09:19:43 -0400 Message-ID: <2339796.1593177583@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Daniel Gustafsson writes: >> On 26 Jun 2020, at 00:44, Tom Lane wrote: >> BTW, the server-side report of the problem looks like >> LOG: could not accept SSL connection: wrong version number > I can totally see some thinking that it's the psql version at client sid= e which > is referred to and not the TLS protocol version. Perhaps we should add = a hint > there as well? Not sure. We can't fix it in the case we're mainly concerned about, namely an out-of-support server version. At the same time, it's certainly true that "version number" is way too under-specified in this context. Maybe improving this against the day that TLSv2 exists would be smart. regards, tom lane