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

相關文章
相關標籤/搜索