From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-197423-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CD62158086 for <garchives@archives.gentoo.org>; Tue, 23 Nov 2021 22:51:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECEC4E0901; Tue, 23 Nov 2021 22:51:42 +0000 (UTC) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E013EE088C for <gentoo-user@lists.gentoo.org>; Tue, 23 Nov 2021 22:51:41 +0000 (UTC) Received: by mail-ed1-x52f.google.com with SMTP id y13so1435581edd.13 for <gentoo-user@lists.gentoo.org>; Tue, 23 Nov 2021 14:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=oQvbhnuAe2D2wN0VK8sIsE18DZ0eStHzZFym/PvBBi4=; b=kfVSe1htZ6E8Oc7OUdZeQFb9jyamYVQ0kUN2zDF/2JfwBzUemGhvlgeeeQKog7fZpV uyfqEtKuu0Qpz79SHeQsa4BHIyqG15A9Xjz4usvgaj2YgF+2x26BYQYmofBqix31+Wxu 7XSGim6HI/PELDMNte7jvvSXxtoP8GBXXWcJPkOfWb1L3b/bIiQeXcxe+jKWO2ehiHz5 7PL6eebH9gJO84lFHzEWYz/hviq3+Iwtow6ZA93Fun6e3s6z/eCBxd3IyOqncgcS7aMJ bfBEVf9LMB0A5iyytRflywDKIqx69LJuOEtu5tpVqJdIpIY35AZd+l/aFesj307Tyulk JpMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=oQvbhnuAe2D2wN0VK8sIsE18DZ0eStHzZFym/PvBBi4=; b=hMLoJickDkkrGjq0bHP6nv9EkmrApa7ZlSpQiBGWV7OMxTTVH6KAbr4MlY5fjbZFSR OoVN2BoV/qEc4TR2P6d8MrPIVaeCOkUDco/S7lJ/o/WdaJWbtprM0xEvRszxWGb/yWRZ Nc/wwLt2ryZqcQTTts8h9NMTLY2TvpukPAADRHLQMM/ZKwYk/p2FEPYrceq8oYolErhm dF5u5x3KAqhJAKD2wyrPuIxHMP5IKECyp9XHCDeRlKy4/trls15JfSNg4etaUkPtA5LQ +7RnTEUc2xBZJGDgZJLovth666+M8ExhQJOti89z7qWO5BGWOlAIjaVLTcWNj9YpSqok SkRg== X-Gm-Message-State: AOAM533p5xcUVIHLvk4zm94B6LOZcLY6tHNRDQ1UvP9NI6yKVFoejj8T uWZw3auEdz7bH01okkLF2ev/sA0KdcQ= X-Google-Smtp-Source: ABdhPJyKayGnCGsZaaUhgGBd2EJcv/5PrYR0mh6gMAIBFaGT4Xd+Ahllw/GdVAsT6NLh4vX3m6seew== X-Received: by 2002:a05:6402:b64:: with SMTP id cb4mr15861110edb.325.1637707900720; Tue, 23 Nov 2021 14:51:40 -0800 (PST) Received: from precision.linux.gnu ([109.245.95.217]) by smtp.gmail.com with ESMTPSA id qa7sm6108555ejc.64.2021.11.23.14.51.40 for <gentoo-user@lists.gentoo.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 14:51:40 -0800 (PST) Message-ID: <55782991b9f34d4184d8daf7cbd7d4a721f6b48d.camel@gmail.com> Subject: Re: [gentoo-user] net-libs/gnutls-3.7.2 fails to verify some certificates (duplicate server certificate?) From: Branko =?UTF-8?Q?Grubi=C4=87?= <bitlord0xff@gmail.com> To: gentoo-user@lists.gentoo.org Date: Tue, 23 Nov 2021 23:51:34 +0100 In-Reply-To: <A2Y4FART.BM3IKSTH.URGJT2JV@OAL522X6.Z6XBKCZ6.KGESZWRV> References: <9f52a53390b093486855d3f28ae8969d0be6a13c.camel@gmail.com> <A2Y4FART.BM3IKSTH.URGJT2JV@OAL522X6.Z6XBKCZ6.KGESZWRV> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 190202b0-4ba1-4c6a-b27b-301028b5615d X-Archives-Hash: 1ea7c4a85fa1038482c4437279711dd5 On Tue, 2021-11-23 at 17:26 -0500, Jack wrote: > On 2021.11.23 14:43, Branko Grubić wrote: > > Hi, > > [1] https://gitlab.com/gnutls/gnutls/-/issues/1131 > OK, diff of your output to mine: > 1,2c1,2 > < $ gnutls-cli distrowatch.com:443 > < Processed 130 CA certificate(s). > --- > > $gnutls-cli distrowatch.com:443 > > Processed 128 CA certificate(s). > 21,23c21,29 > < - Status: The certificate is NOT trusted. The certificate issuer > is > unknown. > < *** PKI verification of server certificate failed... > < *** Fatal error: Error in the certificate. > --- > > - Status: The certificate is trusted. > > - Description: > > (TLS1.3-X.509)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-256- > > GCM) > > - Session ID: > > 83:62:97:D1:C0:77:19:76:F8:2F:41:7E:DD:CD:C5:A6:35:2A:5D:4C:39:B4:F > > 5:12:CA:09:0F:07:26:BA:83:5F > > - Options: > > - Handshake was completed > > > > - Simple Client Mode: > > > > - Peer has closed the GnuTLS connection > > So I have two fewer CA Certs than you do, but somehow I know the > issuer > and you do not. > I have app-misc/ca-certificates 20210119.3.66, but there are two ~ > versions. I wonder if something got dropped (whether intentionally > or > not.) > Hi, Thanks for testing. Not happy that it's only me :D I don't think my issue is related to ca-certificates, btw. I'm "fully" on ~amd64 (unstable/testing). Here is what's installed here: app-misc/ca-certificates-20211016.3.72 -cacert Also, as I said Let's Encrypt certificates from other sites work fine with gnutls-cli (and other clients using gnutls), which have similar certificate chain's (same, except the server certificate, same intermediate and same "Root" certificate), so I don't think it's related to a "missing trust". Could be something specific to my system or ~arch (unstable), that some library gnutls uses is causing issues (but I cannot remember now when it started happening to pinpoint after which update it stopped working). Regards, Branko