cygwin下git出现ca-bundle.crt相关错误的解决办法

 在cygwin下出现:

error: error setting certificate verify locations:
  CAfile: /usr/ssl/certs/ca-bundle.crt
  CApath: none while accessing https://github.com/apache/zookeeper.git/info/refs
fatal: HTTP request failed

这个是由于没有安装证书所致,需要重新运行cygwin的setup.exe文件,选择 :ca-certificates 包进行安装即可

posted @ 2013-01-27 07:00  涛光  阅读(1442)  评论(0编辑  收藏  举报