[DragonFlyBSD - Bug #3338] (Resolved) SSL Error during pkg-bootstrap

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Feb 3 01:48:42 PST 2023


Issue #3338 has been updated by liweitianux.

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

----------------------------------------
Bug #3338: SSL Error during pkg-bootstrap
http://bugs.dragonflybsd.org/issues/3338#change-14494

* Author: aswell
* Status: Resolved
* Priority: Normal
* Category: Userland
* Target version: 6.6
* Start date: 2023-01-29
----------------------------------------
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:
<pre><code class="shell">
# cd /usr
# make pkg-bootstrap
</code></pre>

Which returns the following:
<pre><code class="shell">
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
</code></pre>






-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list