From nobody Thu Jul 04 00:47:20 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WDyfN6Hsgz5Gqnd for ; Thu, 04 Jul 2024 00:47:24 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDyfN5Wnqz43lh; Thu, 4 Jul 2024 00:47:24 +0000 (UTC) (envelope-from philip@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720054044; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RM728fe72ifX/lEMkBu+G5HCFLRvHc4HlpkshWmyKC0=; b=d207FLYlQ0R4UZ1PoVRy1Si3hgfTr6qedRQSFV8xBAef9IsGTizEicZtX7APZOGM1NiFTt QDkHiQ/baHGCwWM91nLCBKZiGYgDakRNwCUMbusYOblQf9yIWi5Vt9UwCYuH6YXCwbo8u1 QEgphd1igEn8GFumE9lBT73kp3WSwQZflGnjvrW1RAspRo3n6F7IXIk+Z8FRTX8x/8I4WZ Q8kIEImVlr1hxJRGHQE0JqsfctdW0EH2XigtB7K4l/ILaIUBr8Nem0K4ESZN0VQ5BxJhYu uQWVjUvErdLx0fhzZBxWP5vjPIPrAdtn6Byxw2M55Q5M0Vs72uXDQlRinF3/hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720054044; a=rsa-sha256; cv=none; b=HiGwYGvcpZdLq3auYijul1G6V2Srzg7azgdFjLB/vpx1Rbb/2R74rDayM3NwFCPBYC1Z1s EMTjipNcpQY5asmRg8qT8nuGeoFeI5r1ccFTquWtaavXZGCfLUCOfmlBPzZ8gIhbnKlnXe +9HZXiACYUAsCaVEDDub8b19PDv3EETglz8PayBstJXVZrBTh0CbdJ3XELKGffMx7qfBc5 0O1nCa1Y7bilTtmy0AO54FX7ydQ6blf/g3wpSruopB3pteK5RfzCjqPpZxfIf9CWR19N1H ZjqK8l+iST2ji7tIQn2HpDj461B9qSw3AmSLRrV/UuJT87r9C4+ChSxWPqm6CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720054044; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RM728fe72ifX/lEMkBu+G5HCFLRvHc4HlpkshWmyKC0=; b=IsEevW5kv3Dv4rbimto4SLKA+DrC/YFSRxhGzm+Y4BvUhUkM0yHbnTk8UV6GCj9sYHgAQW /iK23SEhnaXpxtpGDkqg3RSGrViDMxQ4h1vBELSUpjsN6Wxa1SQhcC2J1Q614YVqHpHQ2H 5onjlvrWEMc4v2TZrayRUGgXIDhJ9wBRuc3dCSgAhw6PMJodXDVfB2QwfnKwviytBBD781 lB8wcCeyGErsZRMkXnvhJ/NxE7h3Qhn+V6ozjoBbh/sWFBHOH+QqQcGygBMx8kKA3MlF2/ GAHdzlhnRS91ovFPesP70PDN8DMiL38w8nFv5pL8tEW1D0GcVdWqjeC3lUhRbg== Received: from fauth1-smtp.messagingengine.com (fauth1-smtp.messagingengine.com [103.168.172.200]) (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) (Authenticated sender: philip/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WDyfN4KkSzLgS; Thu, 4 Jul 2024 00:47:24 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfauth.nyi.internal (Postfix) with ESMTP id B63241200043; Wed, 3 Jul 2024 20:47:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 03 Jul 2024 20:47:23 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekgdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffoffkjghfgggtsehttdhmtdertddtnecuhfhrohhmpefrhhhilhhi phcurfgrvghpshcuoehphhhilhhiphesfhhrvggvsghsugdrohhrgheqnecuggftrfgrth htvghrnhepvdehheekgffhieetheetudduuefhvdegtedtiefhffelueetgeegtedutddt udefnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpodhmvghsmhhtphgruhht hhhpvghrshhonhgrlhhithihqdduudeiiedviedvgeekqddvfeehudektddtkedqphhhih hlihhppeepfhhrvggvsghsugdrohhrghesthhrohhusghlvgdrihhs X-ME-Proxy: Feedback-ID: ia691475d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Jul 2024 20:47:22 -0400 (EDT) From: Philip Paeps To: Mark Millard Cc: FreeBSD-STABLE Mailing List , Karl Denninger Subject: Re: pkg_https:// failures related to, for example, "SSL certificate problem: certificate is not yet valid" Date: Thu, 04 Jul 2024 08:47:20 +0800 X-Mailer: MailMate (1.14r6038) Message-ID: <0377045B-3DF8-4B25-9075-6F67F9E7194B@freebsd.org> In-Reply-To: <5667D5C0-44F7-4B40-8F63-50D5973D220D@yahoo.com> References: <5667D5C0-44F7-4B40-8F63-50D5973D220D.ref@yahoo.com> <5667D5C0-44F7-4B40-8F63-50D5973D220D@yahoo.com> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed On 2024-07-04 01:27:03 (+0800), Mark Millard wrote: > Bootstrapping pkg from > pkg+https://pkg.FreeBSD.org/FreeBSD:14:aarch64/quarterly, please > wait... > Certificate verification failed for /CN=pkg.freebsd.org > 0020616CE1680000:error:0A000086:SSL > routines:tls_post_process_server_certificate:certificate verify > failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890: As far as I can tell, at the time of this writing, all fifteen pkg.freebsd.org sites have the same certificate, and OpenSSL is happy with it. > Note the "pkg+https://". > > I had separate problems yesterday that I side stepped by > testing use of just "pkg+http://", which worked. See: Use pkg+http. This is the default. Packages are signed. Transport layer security does not provide any additional security. (Anticipating the usual argument: it doesn't provide privacy either - packages are trivially fingerprinted by file size.) > pkg with -d for the https context had its debug output > reporting: > > * SSL certificate problem: certificate is not yet valid Does the system being bootstrapped have a real-time clock? Common causes for this error are clocks set to 1970-01-01 or 2000-01-01. > It happened to be using 204.15.11.66:443 for the https activity. For what it's worth: 204.15.11.66 = pkg0.tuk.freebsd.org. root@pkg0.tuk:~ # openssl x509 -noout -in /etc/clusteradm/acme-certs/pkg.freebsd.org.crt -dates notBefore=Jun 1 20:26:18 2024 GMT notAfter=Aug 30 20:26:17 2024 GMT Philip