π ~1 min read
Table of contents
Symptom & Impact
HTTPS and API calls fail because certificates appear expired or not yet valid.
Environment & Reproduction
Occurs on VMs with disabled NTP or unstable host clock synchronization.
Root Cause Analysis
System clock drift exceeds TLS validity tolerance for certificate verification.
Quick Triage
Compare system time against trusted source and check NTP synchronization status.
Step-by-Step Diagnosis
Inspect timedatectl, NTP peers, and hypervisor clock settings.

Solution – Primary Fix
Restore accurate time synchronization and restart affected services using TLS.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use alternative NTP servers or internal time source when upstream is unstable.
Verification & Acceptance Criteria
Clock offset remains low and TLS handshakes succeed for critical endpoints.
Rollback Plan
Revert time service changes if synchronization becomes less stable.
Prevention & Hardening
Monitor clock offset and enforce NTP health checks in baseline monitoring.
Related Errors & Cross-Refs
certificate has expired and certificate is not yet valid messages.
Related tutorial: View the step-by-step tutorial for Ubuntu 18.04 LTS.
View all Ubuntu 18.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
NTP, chrony, and TLS validation timing requirements on Linux systems.
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.