반응형
CentOS 6 git clone SSL connect error
Issue
- git clone SSL connect error (NSS error -12190)
- git
fatal: HTTP request failed
~$ git clone https://github.com/vim/vim.git
Initialized empty Git repository in /root/vim/.git/
error: while accessing https://github.com/vim/vim.git/info/refs
fatal: HTTP request failed
# or
~$ git clone https://github.com/fshilver/settings.git
Cloning into 'settings'...
fatal: unable to access 'https://github.com/fshilver/settings.git/': SSL connect error
~$ GIT_CURL_VERBOSE=1 git clone https://github.com/fshilver/settings.git
Cloning into 'settings'...
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 192.30.253.113... * Connected to github.com (192.30.253.113) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190
* Expire cleared
* Closing connection #0
fatal: unable to access 'https://github.com/fshilver/settings.git/': SSL connect error
Environment
- CentOS 6.4
Solution
- update
nss
,curl
packages
~$ yum update -y nss curl
- try again
~$ git clone https://github.com/fshilver/settings.git
Cloning into 'settings'...
remote: Counting objects: 30, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 30 (delta 0), reused 5 (delta 0), pack-reused 24
Unpacking objects: 100% (30/30), done.
Checking connectivity... done.
반응형
'Troubleshooting > OS' 카테고리의 다른 글
unexpected-inconsistency (0) | 2018.12.11 |
---|---|
Ubuntu 18.04LTS 로그인 버그 (0) | 2018.05.22 |
CentOS에서 bash-4.2$ 나오는 현상 조치 방법 (5) | 2018.04.01 |
bash: ulimit: pipe size: cannot modify limit (0) | 2018.03.09 |
노트북에서 한영키가 동작하지 않을시 해결방법 (0) | 2018.03.02 |