π ~1 min read
Table of contents
Symptom & Impact
HTTPS package repositories and APIs fail with certificate trust errors.
Environment & Reproduction
Common after custom CA changes or partial package updates.
curl -I https://archive.ubuntu.com
Root Cause Analysis
Broken or outdated `ca-certificates` bundle prevents trust chain validation.
Quick Triage
Check CA package status and local certificate overrides.
dpkg -l | grep ca-certificates && ls -l /usr/local/share/ca-certificates
Step-by-Step Diagnosis
Inspect OpenSSL verification path and trust chain details.
openssl version -d && openssl s_client -connect archive.ubuntu.com:443 -servername archive.ubuntu.com

Solution – Primary Fix
Reinstall CA packages and rebuild trust store.
Still having issues? Our IT Consulting team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo apt install --reinstall ca-certificates -y && sudo update-ca-certificates

Solution – Alternative Approaches
Remove untrusted local CA additions and distribute approved enterprise roots only.
Verification & Acceptance Criteria
HTTPS requests and `apt update` over TLS succeed without certificate errors.
Rollback Plan
Restore previous CA bundle from backup if custom trust requirements break.
Prevention & Hardening
Manage CA changes through configuration management with audit trails.
Related Errors & Cross-Refs
Related to incorrect system time and proxy TLS interception misconfiguration.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu CA certificate management and TLS troubleshooting docs.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.