Best Fixes
Verify the system clock first, then inspect the certificate dates and trust chain.
If it is your service, renew and deploy the correct certificate chain cleanly.
What this SSL/TLS error actually means and how to determine whether the cert or trust chain is the problem.
This often means the remote certificate really expired, but sometimes the local system clock or trust store is also involved. The right fix depends on which side is actually wrong.
Verify the system clock first, then inspect the certificate dates and trust chain.
If it is your service, renew and deploy the correct certificate chain cleanly.
Do not bypass TLS verification as the permanent solution.
Do not assume the remote cert is wrong before checking whether the local machine time is skewed.