Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2025 14:43:06 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        polyduekes@proton.me
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "freebsd-pkgbase@freebsd.org" <freebsd-pkgbase@freebsd.org>
Subject:   Re: certificate verification failures during pkg bootstrapping on a 15-PRERELEASE PKGBASE installation
Message-ID:  <86plcnil2d.fsf@ltc.des.dev>
In-Reply-To: <86tt1zilpy.fsf@ltc.des.dev> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Fri, 22 Aug 2025 14:28:57 %2B0200")
References:  <xwGw6hQhjiyfg4DMb4VIGYyHHNnAsuz10zqS2m2L4TERyUHtmamkIEMwsEVzOK_2mO84SJ59-_W5Vq6KTY7hx4t2Gc1_EJlcmJu9SbIWHA4=@proton.me> <86tt1zilpy.fsf@ltc.des.dev>

index | next in thread | previous in thread | raw e-mail

Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> polyduekes@proton.me writes:
> > i grabbed the latest iso image snapshots of both bootonly and disc1 of
> > 15-PRELEASE [...]  ;) upon doing pkgbase installation using the
> > "packages (experimental)" from the "select installation type" window,
> > pkg bootstrapping and installation falls with [...]
> Certificate verification failed because your clock was not set

My apologies, I assumed you were talking about the installer itself, but
I see what you mean now.  It looks like either certctl rehash did not
run or, more likely, it ran but failed because the output directories
did not exist.  I did not anticipate this as they're listed in the mtree
files, but those are not used when installing packages.  I'll prepare a
patch to make certctl create the directories as needed.  In the
meantime, you can run:

    mtree -deU -f /etc/mtree/BSD.root.dist -p /
    certctl rehash

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86plcnil2d.fsf>