helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
808 stars 58 forks source link

pkg-static Authentication error on 13-CURRENT #27

Closed probonopd closed 3 years ago

probonopd commented 3 years ago

pkg-static Authentication error on 13-CURRENT, why? This is not happening in 12-RELEASE.

+ cp /etc/resolv.conf /usr/local/furybsd/uzip/etc/resolv.conf
+ mount_nullfs /usr/local/furybsd/amd64/cache/packages /usr/local/furybsd/uzip/var/cache/pkg
+ mount -t devfs devfs /usr/local/furybsd/uzip/dev
+ IGNORE_OSVERSION=yes /usr/local/sbin/pkg-static -c /usr/local/furybsd/uzip add https://github.com/helloSystem/Menu/releases/download/helper/appmenu-gtk-module-0.7.3.2.txz
Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
pkg-static: https://github.com/helloSystem/Menu/releases/download/helper/appmenu-gtk-module-0.7.3.2.txz: Authentication error
probonopd commented 3 years ago

Similarly, on the booted system:

FreeBSD% sudo IGNORE_OSVERSION=yes /usr/local/sbin/pkg-static add https://github.com/helloSystem/Menu/releases/download/helper/appmenu-gtk-module-0.7.3.2.txz 

Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
Certificate verification failed for /C=US/ST=Washington/L=Seattle/O=Amazon.com, Inc./CN=*.s3.amazonaws.com
34372427776:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/head-amd64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915:
pkg-static: https://github.com/helloSystem/Menu/releases/download/helper/appmenu-gtk-module-0.7.3.2.txz: Authentication error

On 12.2-RELEASE the exact same command works fine. Why?

grahamperrin commented 3 years ago

A lazy guess, try:

pkg update -f

probonopd commented 3 years ago

Had to install a package with root certificates on the machine tat builds the ISOs: ca_root_nss