我在 centos 发行版上制作了自己的 git 服务器。 我可以在家里通过 git 协议(protocol)联系服务器。但是当我尝试在办公室通过 https 访问时,我得到:
Cloning into /Users/vito/Documents/... error: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112) while accessing https://gitolite@myserverxyz.com/vitorepo.git/info/refs
fatal: HTTP request failed
问题出在哪里?在我的服务器上还是在我的 office-mac 上?
最佳答案
尝试连接运行 openssl 1.0.0e 的 ubuntu 实例时,我从 curl 得到了完全相同的响应。我通过将 -ssl3 标志添加到 curl 命令成功地解决了这个问题。
关于macos - git 问题通过 https : routines:SSL23_GET_SERVER_HELLO,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7766961/