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 1mC2z6-0000cV-MM for pgsql-general@arkaria.postgresql.org; Fri, 06 Aug 2021 16:46:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mC2z3-0000Js-9j for pgsql-general@arkaria.postgresql.org; Fri, 06 Aug 2021 16:46:09 +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 1mC2z3-0000Jk-0h for pgsql-general@lists.postgresql.org; Fri, 06 Aug 2021 16:46:09 +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 1mC2yy-0004cn-4S for pgsql-general@lists.postgresql.org; Fri, 06 Aug 2021 16:46:08 +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 176Gk2ZQ2494048; Fri, 6 Aug 2021 12:46:02 -0400 From: Tom Lane To: Ehtesham Pradhan cc: pgsql-general@lists.postgresql.org Subject: Re: TLS 1.0 In-reply-to: References: Comments: In-reply-to Ehtesham Pradhan message dated "Fri, 06 Aug 2021 14:38:58 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2494046.1628268362.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Aug 2021 12:46:02 -0400 Message-ID: <2494047.1628268362@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ehtesham Pradhan writes: > Our client is using Version : PostgreSQL 9.6.17 , they have done vulner= ability > assessment and found that : > - TLS version 1.0 Protocol detection > - The remote service encrypt traffic with older version of TLS This is mostly a matter of whether the OpenSSL libraries being used on both ends are up-to-date. If you were using PG 12 or later you could set the server parameter ssl_min_protocol_version to enforce whatever policy you want about minimum TLS version. But in 9.6.x it's going to be strictly a matter of what OpenSSL wants to do. Check the system-wide OpenSSL configuration on each end, and update OpenSSL if necessary. At least with reasonably modern OpenSSL, you should be able to enforce a minimum TLS version in OpenSSL's config (see MinProtocol). regards, tom lane