INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
curl: (60) SSL certificate problem: unable to get local issuer certificate
and
[ INFO ] DietPi-Update | Checking mirror: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6
curl: (60) SSL certificate problem: unable to get local issuer certificate
If I run apt update, I get:
Err:4 https://archive.raspberrypi.org/debian buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
If I ping archive.raspberrypi.org from my laptop, it yields the IP 46.235.227.39 instead of 176.126.240.167 .
No, there is no Firewall blocking SSL Handling. The raspi itself is offering SSL for https, imaps and smtps.
OK, so the different IPs mean nothing. Then it looks as though some package is damaged, which is difficult to repair as apt itself is not working properly.
OK, so I found the issue. Somehow the installed ca-certificates were damaged. Apt told me to install ca-certificates, which was already installed. Dumb as I am, I first trusted this message. Now I reinstalled the package and everythings works normal.