pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph Moench-Tegeder <cmt@burggraben.net>
Cc: Cedric Rey <cerey@groupemutuel.ch>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Certificate validity error download.postgresql.org
Date: Thu, 14 Oct 2021 10:51:26 -0400
Message-ID: <766137.1634223086@sss.pgh.pa.us> (raw)
In-Reply-To: <YWgwhXVxG4RxP5GV@elch.exwg.net>
References: <968e303596614ebf860c640a76cee324@groupemutuel.ch>
	<YWgwhXVxG4RxP5GV@elch.exwg.net>

Christoph Moench-Tegeder <cmt@burggraben.net> 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 <kaie@redhat.com> - 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 <kaie@redhat.com> - 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/





view thread (6+ messages)  latest in thread

Message-ID: <766137.1634223086@sss.pgh.pa.us>
Permalink:  ../766137.1634223086@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/766137.1634223086@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cmt@burggraben.net, cerey@groupemutuel.ch
  Subject: Re: Certificate validity error download.postgresql.org
  In-Reply-To: <766137.1634223086@sss.pgh.pa.us>
  References: <968e303596614ebf860c640a76cee324@groupemutuel.ch> <YWgwhXVxG4RxP5GV@elch.exwg.net> <766137.1634223086@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox