मैं सिर्फ खिड़कियों के लिए Git स्थापित किया है और इसSSL प्रमाण पत्र को कैसे हल करें: github से repo cloning करते समय स्वयं हस्ताक्षरित प्रमाणपत्र?
$ git clone https://github.com/nigels-com/glew.git
तरह Glew के रेपो क्लोन करने की कोशिश की लेकिन मैं निम्न त्रुटि
Cloning into 'glew'...
fatal: unable to access 'https://github.com/nigels-com/glew.git/': SSL certificate problem: self signed certificate
मैं इस समस्या में चल रहे लोगों को देखा है और कुछ संभावित समाधानों मिला है।
सबसे पहले तो मैं config फाइल में http.sslcainfo
प्रविष्टि
$ git config --system --list
credential.helper=manager
$ git config --global --list
https.proxy=<proxy-address>
http.sslverify=false
प्रणाली और वैश्विक config फ़ाइलों को प्रवेश नहीं है के लिए जाँच की
$ git -c http.sslVerify=false clone https://github.com/nigels-com/glew.git
Cloning into 'glew'...
fatal: unable to access 'https://github.com/nigels-com/glew.git/': Empty reply from server
दूसरा कोशिश
$ git config --global http.sslVerify false
$ git clone https://github.com/nigels-com/glew.git
Cloning into 'glew'...
fatal: unable to access 'https://github.com/nigels-com/glew.git/': Empty reply from server
प्रयास करें। इसलिए मैंने निम्नलिखित कोशिश की जो मुझे नहीं पता कि कौन सी फाइल पढ़ रही है और इसे अनसेट करने का प्रयास करें।
$ git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
http.sslverify=false
$ git config --unset http.sslcainfo
fatal: not in a git directory
वैश्विक और सिस्टम
$ git config --global --unset http.sslcainfo
$ git clone https://github.com/nigels-com/glew.git
Cloning into 'glew'...
fatal: unable to access 'https://github.com/nigels-com/glew.git/': SSL certificate problem: self signed certificate
$ git config --system --unset http.sslcainfo
error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied
error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Invalid argument
मैं अभी भी है कि GitHub रेपो क्लोन नहीं कर सकते हैं के साथ की कोशिश की। कोई अन्य विचार मैं इस समस्या को ठीक करने का प्रयास कर सकता हूं? मैं क्या खो रहा हूँ?
प्रॉक्सी समस्या की तरह दिखता है। – Roman
पहले से ही गिट में प्रॉक्सी डाल दिया है, लेकिन अभी भी गिट से क्लोन करने में सक्षम नहीं है। कोई अन्य विचार? – BRabbit27
आपका पहला प्रयास मेरे लिए काम करता था। धन्यवाद! –