SSL certificate problem while updating pkg

Got an errors while updating pkg in FreeBSD
unable to access https://git.freebsd.org/: SSL certificate problem: certificate is not yet valid

The error SSL certificate problem: certificate is not yet valid suggests that 
the system clock  is incorrect and set to a time before the certificates activation date

to resolve the problem usie following command

ntpdate -v -b us.pool.ntp.org

Categories