Error

$ git pull origin main fatal: unable to access 'http://gitlab.****/***.git/': SSL certificate problem: certificate is not yet valid

Solution

Make sure the system time is correct.
sudo timedatectl set-time 2023-05-18 sudo timedatectl set-time 14:17 $ date Thu May 18 14:17:01 JST 2023