[SOLVED] Certificate Problems on 5.16.5 June 05, 2022 12:47PM |
Registered: 2 years ago Posts: 9 |
root@Server:/home/goflex# curl https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key | gpg --dearmor > /etc/apt/trusted.gpg.d/ltec-ag.gpg
Re: Certificate Problems on 5.15 June 05, 2022 01:20PM |
Registered: 2 years ago Posts: 9 |
root@GoFlex-Home:~# curl -O https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. root@GoFlex-Home:~#
Re: Certificate Problems on 5.16.5 June 05, 2022 01:29PM |
Registered: 2 years ago Posts: 9 |
root@GoFlex-Home:~# curl -k http://pkg.ltec.ch/public/conf/ltec-ag.gpg.key | gpg --dearmor > /etc/apt/trusted.gpg.d/ltec-ag.gpg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:--100 332 100 332 0 0 2289 0 --:--:-- --:--:-- --:--:-- 2289 gpg: no valid OpenPGP data found. root@GoFlex-Home:~#
Re: Certificate Problems on 5.16.5 June 05, 2022 03:28PM |
Admin Registered: 13 years ago Posts: 18,821 |
uname -a cat /etc/debian_version
apt-get update apt-get upgrade
Re: Certificate Problems on 5.16.5 June 06, 2022 01:15AM |
Registered: 2 years ago Posts: 9 |
root@GoFlex-Home:~# uname -a Linux GoFlex-Home 5.16.5-kirkwood-tld-1 #1.0 PREEMPT Sat Feb 5 20:02:03 PST 2022 armv5tel GNU/Linux root@GoFlex-Home:~# cat /etc/debian_version 10.12
root@GoFlex-Home:~# sudo apt update && sudo apt full-upgrade Get:1 http://security.debian.org buster/updates InRelease [65.4 kB] Hit:2 http://ftp.de.debian.org/debian buster InRelease Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://security.debian.org buster/updates/main Sources [236 kB] Fetched 354 kB in 5s (72.7 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: Certificate Problems on 5.16.5 June 06, 2022 01:51AM |
Admin Registered: 13 years ago Posts: 18,821 |
deb http://ftp.us.debian.org/debian bullseye main contrib non-free deb-src http://ftp.us.debian.org/debian bullseye main contrib non-free deb https://security.debian.org/debian-security bullseye-security main contrib non-free deb http://http.debian.net/debian bullseye-updates main contrib non-free deb-src http://http.debian.net/debian bullseye-updates main contrib non-free
apt-get update apt-get dist-upgradeIf you see problem with key-ring then do
apt-get install debian-keyring debian-archive-keyring
apt-get update apt-get dist-upgrade
Re: Certificate Problems on 5.16.5 June 06, 2022 03:34PM |
Registered: 2 years ago Posts: 9 |
goflex@GoFlex-Home:~$ sudo apt-get update Err:2 https://security.debian.org/debian-security bullseye-security InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 151.101.66.132 443] Hit:3 http://ftp.us.debian.org/debian bullseye InRelease Hit:1 http://cdn-fastly.deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done W: https://security.debian.org/debian-security/dists/bullseye-security/InRelease: No system certificates available. Try installing ca-certificates. W: Failed to fetch https://security.debian.org/debian-security/dists/bullseye-security/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 151.101.66.132 443] W: Some index files failed to download. They have been ignored, or old ones used instead.Then I changed /etc/apt/sources.list
#from #deb https://security.debian.org/debian-security bullseye-security main contrib non-free #to deb http://security.debian.org/debian-security bullseye-security main contrib non-freeAfter that, update and upgrade worked like a charm:
goflex@GoFlex-Home:~$ uname -a Linux GoFlex-Home 5.16.5-kirkwood-tld-1 #1.0 PREEMPT Sat Feb 5 20:02:03 PST 2022 armv5tel GNU/Linux goflex@GoFlex-Home:~$ cat /etc/debian_version 11.3
sudo apt install ca-certificates
sudo apt-get install --reinstall systemdBut then found out that systemd is not the init system booted with, but SysV is .
Re: Certificate Problems on 5.16.5 June 06, 2022 06:29PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
To boot with systemd, add parameter init=/bin/systemd to your u-boot env bootargs (beware that in later Debian distribution, the location of systemd binary might have changed).
- For example,
fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts init=/bin/systemd'
- Or, if you are booting with my latest u-boot images you can also use the uEnv.txt capability to do this. In the default envs, custom_params is a variable that allows you to add extra bootargs. So add the following line to uEnv.txt:
custom_params=init=/bin/systemd
If that's still not possible to run systemd, you might want to install it again:
apt-get install systemd
Re: Certificate Problems on 5.16.5 June 08, 2022 11:50AM |
Registered: 2 years ago Posts: 9 |