Fatal unable to access ssl connect error appears under centos6.3

ssl certificate problems under centos6.3 cause git clone / curl github resources to fail

  https://www.v2ex.com/t/434848

is there any way to upgrade if you don"t want to upgrade?

what is given on the Internet is basically upgrading nss-related packages

yum update-y nss curl libcurl

but I still have no effect here


with this problem, using update did not take effect

but after testing, it seems that there is something wrong with the version of ssl

Test method:

curl -v https://github.com

prompt

* About to connect() to github.com port 443 (-sharp0)
*   Trying 192.30.253.112... connected
* Connected to github.com (192.30.253.112) port 443 (-sharp0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* NSS error -12190
* Closing connection -sharp0
* SSL connect error
curl: (35) SSL connect error

but

curl -v --tlsv1 https://github.com

you can get the correct page response

git level 2.6 or above, you can specify the ssl version number. There are two ways

  1. export export GIT_SSL_VERSION=tlsv1
  2. git config http.sslVersion tlsv1

upgrade git > = 2.6 set ssl version, try it out


https://blog.csdn.net/flynetc.
https://www.cnblogs.com/qiumi.

should it be possible to bypass ssl authentication directly?

Menu