unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Cummings <john@rootabega.net>
To: 50921@debbugs.gnu.org
Subject: bug#50921: GNU ELPA TLS errors: server is returning chain with expired root
Date: Thu, 30 Sep 2021 20:24:28 +0000	[thread overview]
Message-ID: <jsIef76DYt8yrdld1Q4wfq2Hnkkjg64ySthx2C0T-93Y6xv-X-RhAMLFVKK3o76RKl90iJ1bCysKNO4pmMr_Vsw4RPeX5nV-5w9CjXFeCbo=@rootabega.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

I'm not sure if we are supposed to report infrastructure problems as Emacs bugs, but it should be easy to close if not. I, and at least a few others, have had TLS connection problems to GNU ELPA in the last day or two, with the errors:

|Issued by:          R3
|Issued to:          CN=elpa.gnu.org
|Hostname:           elpa.gnu.org
|Public key:         RSA, signature: RSA-SHA256
|Protocol:           TLS1.3, key: ECDHE-RSA, cipher: AES-256-GCM, mac: AEAD
|Security level:     Medium
|Valid:              From 2021-09-28 to 2021-12-27
|
|
|The TLS connection to elpa.gnu.org:443 is insecure for the following
|reasons:
|
|certificate has expired
|certificate could not be verified

It appears that elpa.gnu.org is returning a certificate chain referring to a root certificate that expired today. (More info: https://twitter.com/letsencrypt/status/1443621997288767491) I don't know if GnuTLS is supposed to be able to work around this (Firefox seems to, for instance), but I think it's a safe bet this is the cause of these connection errors.

I confirmed the chain that Emacs is seeing a couple ways. In Emacs 28, the security prompt lets you view certificate details by hitting "d", and in that window I confirmed it is seeing the root cert "CN=DST Root CA X3,O=Digital Signature Trust Co."

I also attached the chain I got by running:
openssl s_client -showcerts -servername elpa.gnu.org -connect elpa.gnu.org:443


Thanks!

[-- Attachment #2: chain.pem --]
[-- Type: application/x-x509-ca-cert, Size: 6016 bytes --]

             reply	other threads:[~2021-09-30 20:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 20:24 John Cummings [this message]
2021-09-30 20:47 ` bug#50921: GNU ELPA TLS errors: server is returning chain with expired root John Cummings
2021-09-30 21:03   ` Eric Abrahamsen
2021-10-01  5:49 ` Eli Zaretskii
     [not found] ` <handler.50921.D50921.16330674029217.notifdone@debbugs.gnu.org>
2021-10-04 15:34   ` Glenn Morris
2021-10-04 19:50     ` Eric Abrahamsen
2021-10-04 21:28       ` Glenn Morris
2021-10-04 21:38         ` Glenn Morris
2021-10-04 21:47           ` Eric Abrahamsen
2021-10-04 20:21     ` John Cummings

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jsIef76DYt8yrdld1Q4wfq2Hnkkjg64ySthx2C0T-93Y6xv-X-RhAMLFVKK3o76RKl90iJ1bCysKNO4pmMr_Vsw4RPeX5nV-5w9CjXFeCbo=@rootabega.net' \
    --to=john@rootabega.net \
    --cc=50921@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).