GobySoft / dccl

Dynamic Compact Control Language
Other
17 stars 13 forks source link

Certificate verification fails on apt update #80

Closed isaacvandor closed 2 years ago

isaacvandor commented 2 years ago

Following the installation instructions produces a certificate verification error on the apt update step on an ubuntu 20.04 machine.

Steps to reproduce:

1.

echo "deb http://packages.gobysoft.org/ubuntu/release/ `lsb_release -c -s`/" | sudo tee /etc/apt/sources.list.d/gobysoft_release.list
  1. sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 19478082E2F8D3FE
  2. sudo apt update

Full text of the error message:

Hit:4 http://packages.ros.org/ros/ubuntu focal InRelease
Ign:5 https://packages.gobysoft.org/ubuntu/release focal/ InRelease
Err:6 https://packages.gobysoft.org/ubuntu/release focal/ Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 54.253.136.61 443] Reading package lists... Done E: The repository 'http://packages.gobysoft.org/ubuntu/release focal/ Release' no longer has a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

isaacvandor commented 2 years ago

Looks like this was caused by not having ca-certificates installed properly. Leaving this open for now mostly for visibility, the resolution is to sudo apt install ca-certificates

tsaubergine commented 2 years ago

This was due to an out-of-date ca-certificates (LetsEncrypt updated their root CA some time back).