git SSL certificate- Invalid certificate chain while accessing

后端 未结 6 1306
礼貌的吻别
礼貌的吻别 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:59

    Wondering when this has changed or why it worked for others, but for me the solution was basically to use https instead of http:

    git config --global https.sslVerify false
    

提交回复
热议问题