SparkyLinux Forums

Installation & Upgrade => Installation => Topic started by: bmark109 on September 07, 2022, 09:08:24 PM

Title: Certificate Error ??
Post by: bmark109 on September 07, 2022, 09:08:24 PM
apt update i get this error googled error search spark forum no luck
anyone have a solution??

Err:9 https://sparkylinux.org/repo core Release                               
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 185.249.225.163 443]

this is my sources list:

deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
#deb http://deb.debian.org/debian/ buster-updates main contrib non-free
#deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
deb http://www.deb-multimedia.org/ buster main non-free

Thanks....
Title: Re: Certificate Error ??
Post by: pavroo on September 07, 2022, 10:01:14 PM
You can try 2 things:
1. Add [trusted=yes] in the /etc/apt/source.list.d/sparky.list
or
2. change https:// with http:// in the /etc/apt/source.list.d/sparky.list
https://askubuntu.com/questions/1095266/apt-get-update-failed-because-certificate-verification-failed-because-handshake
Then refresh package list.