From owner-freebsd-stable@freebsd.org Fri Dec 4 02:56:59 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E0F2B4707E1 for ; Fri, 4 Dec 2020 02:56:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [104.129.130.189]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnHRb2ZCcz3Q0N for ; Fri, 4 Dec 2020 02:56:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.16.1/8.16.1) with ESMTP id 0B42uoaq050870; Thu, 3 Dec 2020 21:56:51 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Thu, 3 Dec 2020 21:56:50 -0500 (EST) From: "Sean C. Farley" To: Bob Willcox cc: stable list Subject: Re: authentication errors on 'make fetchindex' in /usr/ports In-Reply-To: Message-ID: <4c5940f3-5d11-d784-b887-455455bb434f@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.farley.org X-Rspamd-Queue-Id: 4CnHRb2ZCcz3Q0N X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:396949, ipnet:104.129.130.0/24, country:US]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 02:56:59 -0000 On Thu, 3 Dec 2020, Bob Willcox wrote: > I am trying to upgrade a 12.1-stable system installed back in July to > 12.2-stable. I downloaded the new ports hierarchy and now when I > attempt to run 'make fetchindex' > I get these errors: > > /usr/bin/env fetch -am -o /usr/ports/INDEX-12.bz2 https://www.FreeBSD.org/ports/INDEX-12.bz2 > Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3 > 546533376:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: > fetch: https://www.FreeBSD.org/ports/INDEX-12.bz2: Authentication error > Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3 > 546533376:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: > > Can someone help? > > Thanks, > Bob That looks like you need to run certctl(8): certctl rehash. This is the commit that brought it into 11-STABLE and 12-STABLE: https://svnweb.freebsd.org/base?view=revision&revision=357082 However, I recommend reading the man page for it first in case you have cert hashes already in a place like /etc/ssl/certs. It took me a bit by surprise because my hashes that were linked from a separate directory were removed. Sean -- scf@FreeBSD.org