git clone出现SSL错误

在服务器上执行go get github.com/bitly/go-simplejson的时候git clone 出现SSL错误git

# cd .; git clone https://github.com/bitly/go-simplejson /opt/go/src/pkg/github.com/bitly/go-simplejsongithub

Cloning into /opt/go/src/pkg/github.com/bitly/go-simplejson...json

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/bitly/go-simplejson/info/refsspa


fatal: HTTP request failedssl

package github.com/bitly/go-simplejson: exit status 128get


而后在网上查了下解决办法it

执行git config --global http.sslVerify falseejs

相关文章
相关标签/搜索