redgoose(붉은거위)

git에서 명령을 실행할때 인증오류에 대한 해결법

Nest
Development
Category
git
Hit
540
Star
0

cafe24 ssh에서 github에 있는 데이터를 clone했을때 아래 오류메세지가 뜨면서 문제가 생겼다.

Cloning into goose...
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/redgoose-dev/goose.git/info/refs

아래 명령어로 실행하여 해결을 봤다.

$ env GIT_SSL_NO_VERIFY=true git clone https://github...

다음 명령은 한번만 실행하면 더이상 귀찮게 하지 않게 할 수 있다.

git config --global http.sslVerify false