After installed git in AIX, when run git clone
found that SSL certificate problem: unable to get local issuer certificate
Solution as below collected from google No ssl verify
export GIT_SSL_NO_VERIFY=true
(unset GIT_SSL_NO_VERIFY
)git config http.sslVerify false
(git config --unset http.sslVerify
)curl http://curl.haxx.se/ca/cacert.pem -o /var/ssl/cacert.pem
(not work, but no /etc/ssl or /etc/openssl folder in AIX)
SSL verify
- .git/config
<pre> [http] sslCAInfo=/var/ssl/certs/cacert.pem </pre>
git config --system (or --global or --local) http.sslcainfo /var/ssl/certs/cacert.pem
来源:oschina
链接:https://my.oschina.net/u/52891/blog/192924