Actions
Bug #3338
closedSSL Error during pkg-bootstrap
Start date:
01/29/2023
Due date:
% Done:
100%
Estimated time:
Description
So, when setting up a jail there is an issue...
After the jail is up and running and has internet access, I do the following:
# cd /usr
# make pkg-bootstrap
Which returns the following:
Warning: /etc/ssl/cert.pem and /usr/local/etc/ssl/cert.pem do not exist.
Disable certificate verification for fetch(1).
fetch --no-verify-peer -o /tmp/pkgboot.tar.xz https://mirror-master.dragonflybsd.org/dports/bootstraps/bootstrap_pkg_
04_x86-64.tar.xz
/tmp/pkgboot.tar.xz 2632 kB 2020 kBps 01s
tar -xJf /tmp/pkgboot.tar.xz -C /usr/local
/usr/local/sbin/pkg-static install -y pkg
Updating Avalon repository catalogue...
Certificate verification failed for /C=US/O=Internet Security Research Group/CN=ISRG Root X1
9984868:error:1404B418:SSL routines:ST_CONNECT:tlsv1 alert unknown ca:/usr/src/lib/libressl/../../crypto/libressl/ssl
/tls13_lib.c:150:
9984868:error:14FFF086:SSL routines:(UNKNOWN)SSL_internal:certificate verify failed:/usr/src/lib/libressl/../../crypt
o/libressl/ssl/tls13_client.c:617:
... Repeats multiple times, then...
pkg-static: https://mirror-master.dragonflybsd.org/dports/dragonfly:6.6:x86:64/LATEST/packagesite.txz: Authentication
error
Unable to update repository Avalon
Error updating repositories!
*** Error code 3
Stop.
make[1]: stopped in /usr
*** Error code 1
Actions