git SSL certificate- Invalid certificate chain while accessing

后端 未结 6 1378
礼貌的吻别
礼貌的吻别 2021-01-30 05:36

I\'m fairly new to github and git, but I do have git setup on my Mac (using Mavericks) and have added a repo on github. I\'m using MAMP and working on a Drupal site, and when I

6条回答
  •  执念已碎
    2021-01-30 05:53

    Check your clock! In my case I was using HTTPS but my clock was wrong, I disabled SSL but eventually I realized the problem was the clock. Updating the clock and reenabling SSL did the trick:

    git config --global http.sslVerify true
    

提交回复
热议问题