SSL / monitoring TECHNICAL HANDBOOK / 2026

SSL ERRORS

certificate is not yet valid: causes and fixes

A certificate’s notBefore date is later than the verification time. Compare the client’s clock with UTC, then inspect the certificate at the reported verification depth.

What it means

The implicated object can be a leaf or a chain member. A clock set too far into the past can cause the same symptom as a genuinely premature certificate deployment. Compare notBefore at the reported verification depth with real UTC time.

What to check

  1. Keep the verification depth, certificate identity and notBefore value.
  2. Compare the client clock and time synchronization state with a reliable source.
  3. Check whether the new deployment differs from a known valid previous certificate.

Test the connection

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -verify_hostname www.example.com -verify_return_error </dev/null

Run this OpenSSL 3.x example in a POSIX shell. Keep the hostname, peer address and full verification result with the error report.

Choose Windows, macOS or Linux commands →

How to fix it

  1. Repair incorrect client time if that is the cause.
  2. If the intended certificate is genuinely not valid yet, obtain and deploy an appropriate currently valid certificate or follow an approved valid-certificate rollback.
  3. Inspect issuer-chain validity too, rather than replacing only the leaf automatically.

Check the fix

Repeat verification from the affected runtime and confirm both validity boundaries, hostname and chain trust. Retest the actual served material after any deployment change.

Details worth checking

Check both date fields after the repair. A usable certificate needs a start date in the past and an expiry date in the future, according to a correctly synchronized clock.

Related guides

Related errors

References