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
GIT_SSL_NO_VERIFY=1
git config --global http.sslverify false
CA인증 파일을 인식하지 못하거나 잘못 됬다는 오류인데요.
인증기관을 신뢰하지 못하는 등 여러 이슈가 사실 OS의 CA(certificate authority)목록에 없는 기관/회사에서 서명한 것일수도 있기 때문에 발생 할 수도 있으니깐요.