[Solved] Server certificate verification failed

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
piperman
Posts: 2
Joined: Mon Nov 19, 2018 4:29 pm

[Solved] Server certificate verification failed

Post by piperman »

Hi,
I am trying to install on pi 3B+ and getting this error when installing the software.
Not sure what to change/edit to fix. Please advise.

DietPi-Software: G_AGUP
│ - Exit code: 100
│ - DietPi version: v6.17.12 (Fourdee/master) | HW_MODEL:3 | HW_ARCH:2 | DISTRO:4
│ - Image creator: DietPi Core Team
│ - Pre-image: Raspbian Lite

│ Log file contents:
│ Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
│ Ign:2 https://archive.raspberrypi.org/debian stretch InRelease
│ Err:3 https://archive.raspberrypi.org/debian stretch Release
│ server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt

Thanks,
Steve
piperman
Posts: 2
Joined: Mon Nov 19, 2018 4:29 pm

Re: Server certificate verification failed

Post by piperman »

I fixed this by doing this, was found on github under issues.

date
/DietPi/dietpi/func/run_ntpd 1

That was why it failed, my system had old date and time.

Thanks,
Steve
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: Server certificate verification failed

Post by MichaIng »

@piperman
Jep, ssl/cert check/verification issues are usually due to system clock being out of date. We really need to check for those errors within our (APT) error handler and offer run_ntpd and changing NTP settings to resolve :?.
Post Reply