π ~1 min read
Table of contents
Symptom & Impact
HTTPS connections fail with certificate validation errors, breaking package and API access.
Environment & Reproduction
Often after stale base images or failed certificate package updates.
curl -I https://archive.ubuntu.com
Root Cause Analysis
System trust store is outdated or corrupted, so valid server chains cannot be verified.
Quick Triage
Check installed CA package version and certificate update logs.
dpkg -l ca-certificates && grep -i ca-certificates /var/log/dpkg.log | tail
Step-by-Step Diagnosis
Validate trust store files and test TLS handshake with explicit verification.
openssl s_client -connect archive.ubuntu.com:443 -servername archive.ubuntu.com </dev/null

Solution – Primary Fix
Reinstall and refresh CA certificates package and rebuild trust database.
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
Deploy enterprise root CAs through managed trust bundle distribution if required.
Verification & Acceptance Criteria
TLS handshakes and HTTPS package downloads succeed without verify errors.
Rollback Plan
Restore previous trust store backup if newly added custom CAs cause trust conflicts.
Prevention & Hardening
Patch certificate packages routinely and validate trust store integrity in CI images.
Related Errors & Cross-Refs
Related to system clock drift, intercepted TLS proxies, and SNI mismatch diagnostics.
Related tutorial: View the step-by-step tutorial for Ubuntu 26.04 LTS.
View all Ubuntu 26.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 validation documentation.
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.