git clone https fails with error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO in the slc6 CMSSW_7_6_7 container
In the slc CMSSW_7_6_7 container, I get this again:
git clone https://github.com/cms-legacydata-analyses/PhysObjectExtractorTool.git
Cloning into 'PhysObjectExtractorTool'...
fatal: unable to access 'https://github.com/cms-legacydata-analyses/PhysObjectExtractorTool.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
For the record:
(~/CMSSW_7_6_7/src/MiniAOD) which git
/opt/cms/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/external/slc6_amd64_gcc493/bin/git
(~/CMSSW_7_6_7/src/MiniAOD) echo $PATH
/home/cmsusr/CMSSW_7_6_7/bin/slc6_amd64_gcc493:/home/cmsusr/CMSSW_7_6_7/external/slc6_amd64_gcc493/bin:/opt/cms/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/bin/slc6_amd64_gcc493:/opt/cms/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/external/slc6_amd64_gcc493/bin:/opt/cms/slc6_amd64_gcc493/external/llvm/3.6-kpegke2/bin:/opt/cms/slc6_amd64_gcc493/external/gcc/4.9.3/bin:/usr/local/bin:/usr/local/bin:/opt/cms/common:/opt/cms/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(~/CMSSW_7_6_7/src/MiniAOD) git --version
git version 1.8.3.1
(~/CMSSW_7_6_7/src/MiniAOD) ls /usr/local/bin/git
/usr/local/bin/git
(~/CMSSW_7_6_7/src/MiniAOD) /usr/local/bin/git --version
git version 2.29.3
So it looks that it takes the old git because of cmsenv
again. But the newer git fails as well:
(~/CMSSW_7_6_7/src/MiniAOD) /usr/local/bin/git clone https://github.com/cms-legacydata-analyses/PhysObjectExtractorTool.git
Cloning into 'PhysObjectExtractorTool'...
fatal: unable to access 'https://github.com/cms-legacydata-analyses/PhysObjectExtractorTool.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
even if openssl looks fresh (if I'm not mistaking that was part of the problem earlier):
(~/CMSSW_7_6_7/src/MiniAOD) which openssl
/usr/local/bin/openssl
(~/CMSSW_7_6_7/src/MiniAOD) openssl version
OpenSSL 1.1.1k 25 Mar 2021
git clone git://github.com/cms-legacydata-analyses/PhysObjectExtractorTool
works