Certificate verification failed: The certificate is NOT trusted...

症状:
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification.

解决方案:

sudo sed 's/https/http/' /etc/apt/sources.list -i
sudo apt update
sudo apt install ca-certificates
sudo sed 's/http/https/' /etc/apt/sources.list -i

版权声明:本文为wzy1551368原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。