Affected versions: Ubuntu 24.04 LTS

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

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
Illustrative mockup for ubuntu-24-04-lts β€” tls_ca_error
Certificate verify failed output β€” Illustrative mockup β€” Progressive Robot

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
Illustrative mockup for ubuntu-24-04-lts β€” update_ca_store
Rebuilding CA certificates store β€” Illustrative mockup β€” Progressive Robot

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 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.