[Error] CAfile none CRLfile none

Hyeseong·2022년 11월 15일
0

helpme

목록 보기
7/7

오류

  • 오류: git clone시 발생하는 오류
  • 오류 핵심 키워드 : verification failed. CAfile: none CRLfile: none

로그

root:~# curl -L -k https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash                                                                                      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1839  100  1839    0     0    992      0  0:00:01  0:00:01 --:--:--   992
Cloning into '/root/.pyenv'...
fatal: unable to access 'https://github.com/pyenv/pyenv.git/': server certificate verification failed. CAfile: none CRLfile: none
Failed to git clone https://github.com/pyenv/pyenv.git

해결 방법

  1. 환경 변수 설정:
GIT_SSL_NO_VERIFY=1
  1. 전역 환경 변수 설정:
git config --global http.sslverify false

원인

CA인증 파일을 인식하지 못하거나 잘못 됬다는 오류인데요.
인증기관을 신뢰하지 못하는 등 여러 이슈가 사실 OS의 CA(certificate authority)목록에 없는 기관/회사에서 서명한 것일수도 있기 때문에 발생 할 수도 있으니깐요.

profile
어제보다 오늘 그리고 오늘 보다 내일...

0개의 댓글