如何在 RedHat 6.4 上使用 git 客户端和 github

How to use git client with github on RedHat 6.4

有谁知道在 RedHat 6.4 上使用 github 到 运行 git 客户端的方法吗?

它停止与 github 一起工作,请参阅:https://githubengineering.com/crypto-removal-notice/

RedHat < 6.8 is not compatible with the recent changes because it does not support TLSv1.2.

Error: fatal: unable to access 'https://github.com/xxx.git/': SSL connect error

我们需要在 6.4 上测试软件,因为这是生产中的软件,但由于上述问题,目前无法直接在 6.4 上克隆 git 存储库,也无法更新 RedHat。 也许我们可以将一些加密库更新到较新的版本 and/or 从源代码编译较新的 git 客户端?

有谁遇到过类似的问题,可以指点一下吗?

您需要重新编译 OpenSSL、OpenSSH 和 git。

终于找到了更简单的修复方法(所以在这里为其他人添加):

yum update -y nss curl libcurl

上面为我解决了这个问题(不需要重新编译任何东西)