"Issued certificate not yet valid." with wget?

10,284

Solution 1

Your system clock is likely set in the past.

Solution 2

When checking the ssl certificate 'notBefore' date with openssl it was valid... It turns out my calling machine's system time was way in the past.

Solution 3

Sync system clock:

timedatectl set-ntp true
Share:
10,284
AXE Labs
Author by

AXE Labs

Updated on September 18, 2022

Comments

  • AXE Labs
    AXE Labs over 1 year

    I am getting the following error when using wget to fetch a file:

      Issued certificate not yet valid.
    To connect to www.atlassian.com insecurely, use ‘--no-check-certificate’.
    

    Testing with openssl returns a similar message:

    Verify return code: 9 (certificate is not yet valid)
    
  • Federico Galli
    Federico Galli over 6 years
    please try to avoid link only answers. provide full answer into your post, with reference links.
  • Reuben
    Reuben over 4 years
    +1 Thanks for saving my day