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 1mb259-0000sY-Pf for pgsql-general@arkaria.postgresql.org; Thu, 14 Oct 2021 14:51:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mb258-00041u-FL for pgsql-general@arkaria.postgresql.org; Thu, 14 Oct 2021 14:51:42 +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 1mb258-00041l-5l for pgsql-general@lists.postgresql.org; Thu, 14 Oct 2021 14:51:42 +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 1mb255-0003r0-Fz for pgsql-general@lists.postgresql.org; Thu, 14 Oct 2021 14:51:41 +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 19EEpQCJ766138; Thu, 14 Oct 2021 10:51:26 -0400 From: Tom Lane To: Christoph Moench-Tegeder cc: Cedric Rey , "pgsql-general@lists.postgresql.org" Subject: Re: Certificate validity error download.postgresql.org In-reply-to: References: <968e303596614ebf860c640a76cee324@groupemutuel.ch> Comments: In-reply-to Christoph Moench-Tegeder message dated "Thu, 14 Oct 2021 15:28:37 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <766136.1634223086.1@sss.pgh.pa.us> Date: Thu, 14 Oct 2021 10:51:26 -0400 Message-ID: <766137.1634223086@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Christoph Moench-Tegeder writes: > I do know from my own experience that at least the "old" (2020.2.something) > Redhat package is missing the new "ISRG Root X1" certificate, you'll > need version 2021.2.something. Seems unlikely that it changed that recently, for a couple of reasons: * AFAICT, Red Hat's policy is to track the Mozilla NSS trusted-CA list exactly. They do update from there only once a year or so, but NSS has trusted ISRG Root X1 for five years. * Looking at "rpm -q ca-certificates --changelog" on a RHEL8 machine, the package maintainer appears to have started a policy in mid-2019 of listing every single cert addition and removal in the changelog. None of the updates since then mention ISRG Root X1. * While Let's Encrypt's list of compatible platforms [1] doesn't mention Red Hat directly, they do say that NSS has trusted X1 since release 3.26. According to the changelog, Red Hat adopted that in August 2016: * Tue Aug 16 2016 Kai Engert - 2016.2.9-3 - Revert to the unmodified upstream CA list, changing the legacy trust to an empty list. Keeping the ca-legacy tool and existing config, however, the configuration has no effect after this change. * Tue Aug 16 2016 Kai Engert - 2016.2.9-2 - Update to CKBI 2.9 from NSS 3.26 with legacy modifications So it sure looks from here like Red Hat has trusted the X1 certificate since mid-2016, pretty much the same length of time as other major distros. The most probable explanation for the OP's problem seems to be failure to update ca-certificates and/or openssl at all for several years. regards, tom lane [1] https://letsencrypt.org/docs/certificate-compatibility/