After running Certbot on my Ubuntu VPS, I began receiving this error when running
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 http://mirrors.digitalocean.com/ubuntu jammy InRelease Hit:3 http://mirrors.digitalocean.com/ubuntu jammy-updates InRelease Ign:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease Hit:5 http://mirrors.digitalocean.com/ubuntu jammy-backports InRelease Hit:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease Ign:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease Ign:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease Err:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 22.214.171.124 443] Reading package lists... Done Building dependency tree... Done Reading state information... Done 14 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Failed to fetch https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 126.96.36.199 443] W: Some index files failed to download. They have been ignored, or old ones used instead.
The closest I could find to this problem being talked about on here is this post from August: https://www.digitalocean.com/community/questions/how-to-get-rid-of-server-certificate-verification-failed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
It looks like that the problem is the
do-agentrepository, the question that you’ve shared is related to an Nginx problem.
What you could try is to try upgrading the
Let me know how it goes!