error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/terryzwt/commerce_unionpay.git/info/refs?service=git…
fatal: HTTP request failed
使用"git remote add origin https://github.com/terryzwt/commerce_unionpay.git" 添加一个远端,然后在push的时候,有一定几率出现上面的错误.
通过搜索,下面给出了解决方案:
http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-try…
上面的讨论太冗长,其实解决起来很简单,只要配置下
git config --global http.sslVerify false
然后push即可.