IntellJ에서 git clone할 때, 다음과 같은 에러가 발생했다.

Clone failed: unable to access "..." error setting certificate verify locations:

사실 에러 자체는 git에서 발생했고, 해결하기 위해 Windows 명령 프롬프트에서 Git 설치 경로로 이동하였다.

 

Git 설치 경로 C:\Program Files\Git\bin\git.exe

 

git.exe 실행파일의 위치에서 다음 라인을 실행하였다.

git config --system http.sslcainfo "C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt"

 

실행 결과, git clone이 잘 동작했고, IntelliJ에서 에러도 발생하지 않았다.

 

출처: https://stackoverflow.com/questions/3778042/github-error-cloning-my-private-repository

+ Recent posts