git clone https协议问题

错误提示:

root@kali:~# git clone https://code.jd.com/user_p/xiaoshuo.git
正克隆到 'xiaoshuo'...
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://code.jd.com/user_p/xiaoshuo.git/info/refs
fatal: HTTP request failed

解决办法:

root@kali:~# git config --global http.sslVerify false

  

  

posted @ 2014-12-02 03:20  dzxs  阅读(2244)  评论(1编辑  收藏  举报