Hello! I did some research but haven't found a good solution yet.
I updated my system from 14.3p10 to 15.0p5. After a few hiccups, I am now up and running as normal. However, I have a jail I use for some things and when I went to update, I get a cert error. This is a standard "thick" jail, so of course it shares the same kernel. I was under the impression I had to do the whole freebsd-update fetch install process in the jail as well.
What's a good way to update my cert in the jail so I can run through the upgrade process?
OK.
Checking pkg -vv
Clearly the old one. I tried pkg update and of course got the error here:
Trying pkgbootstrap -f
Also tried (which of course didn't work)
I updated my system from 14.3p10 to 15.0p5. After a few hiccups, I am now up and running as normal. However, I have a jail I use for some things and when I went to update, I get a cert error. This is a standard "thick" jail, so of course it shares the same kernel. I was under the impression I had to do the whole freebsd-update fetch install process in the jail as well.
What's a good way to update my cert in the jail so I can run through the upgrade process?
Code:
freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 15.0-RELEASE from update2.freebsd.org... invalid signature.
Fetching metadata signature for 15.0-RELEASE from update1.freebsd.org... invalid signature.
Fetching metadata signature for 15.0-RELEASE from dualstack.aws.update.freebsd.org... invalid signature.
No mirrors remaining, giving up.
This may be because upgrading from this platform (amd64)
or release (15.0-RELEASE) is unsupported by freebsd-update. Only
platforms with Tier 1 support can be upgraded by freebsd-update.
See https://www.freebsd.org/platforms/ for more info.
If unsupported, FreeBSD must be upgraded by source.
OK.
Code:
cat /etc/os-release
NAME=FreeBSD
VERSION="15.0-RELEASE-p5"
VERSION_ID="15.0"
ID=freebsd
ANSI_COLOR="0;31"
PRETTY_NAME="FreeBSD 15.0-RELEASE-p5"
CPE_NAME="cpe:/o:freebsd:freebsd:15.0"
HOME_URL="https://FreeBSD.org/"
BUG_REPORT_URL="https://bugs.FreeBSD.org/"
Checking pkg -vv
Code:
ABI = "FreeBSD:14:amd64";
ALTABI = "freebsd:14:x86:64";
OSVERSION = "1403000";
Repositories:
FreeBSD: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
Clearly the old one. I tried pkg update and of course got the error here:
Code:
Updating FreeBSD repository catalogue...
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/meta.conf: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/meta.txz: SSL peer certificate or SSH remote key was not OK
repository FreeBSD has no meta file, using default settings
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/data.pkg: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/data.tzst: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/packagesite.pkg: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/packagesite.tzst: SSL peer certificate or SSH remote key was not OK
Unable to update repository FreeBSD
Updating FreeBSD-kmods repository catalogue...
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/meta.conf: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/meta.txz: SSL peer certificate or SSH remote key was not OK
repository FreeBSD-kmods has no meta file, using default settings
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/data.pkg: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/data.tzst: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/packagesite.pkg: SSL peer certificate or SSH remote key was not OK
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/packagesite.tzst: SSL peer certificate or SSH remote key was not OK
Unable to update repository FreeBSD-kmods
Error updating repositories!
Trying pkgbootstrap -f
Code:
pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly, please wait...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
pkg: Attempted to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/Latest/pkg.pkg
pkg: Attempted to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly/Latest/pkg.txz
pkg: Error: Authentication error
A pre-built version of pkg could not be found for your system.
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3, please wait...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
Certificate verification failed for /C=US/O=Let's Encrypt/CN=E8
08100586032C0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
pkg: Attempted to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/Latest/pkg.pkg
pkg: Attempted to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3/Latest/pkg.txz
pkg: Error: Authentication error
A pre-built version of pkg could not be found for your system.
Also tried (which of course didn't work)
Code:
pkg add -f https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/FreeBSD-pkg-bootstrap-15.0.pkg