카테고리 없음

git - error: error setting certificate verify locations

manywaypark 2013. 4. 11. 10:23

새 윈도우 박스에 cygwin을 깔고 github에서 소스를 받으려고 했는데 에러가 났다.

인증서는 제대로 등록되어있는 상태.

문제:

$ git clone https://github.com/foo/bar.git

Cloning into 'bar'...

error: error setting certificate verify locations:

  CAfile: /usr/ssl/certs/ca-bundle.crt

  CApath: none while accessing https://github.com/namjae/rebar.git/info/refs

fatal: HTTP request failed


해결:

아래 참고 페이지에 보면 여러 해결 방법이 있으나, 그 중에 ca-certificates 패키지를 설치하는 방법이 제일 간단하다 (내경우 잘 해결되었다는 말)



ref:

http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall


happy hackin'