Project

General

Profile

Actions

Bug #3338

closed

SSL Error during pkg-bootstrap

Added by aswell almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
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 #1

Updated by liweitianux almost 2 years ago

  • Subject changed from SSL Error to SSL Error during pkg-bootstrap
  • Category set to Userland
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Should be fixed in commit f09f790e044c4db2c29e113cc09d7d1ebce8fdbd on master branch. Also ported to 6.4 branch.

Please test. Thanks.

Aaron

Actions

Also available in: Atom PDF