macos - git 问题通过 https : routines:SSL23_GET_SERVER_HELLO

标签 macos git centos

我在 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/

相关文章:

git - 如何解决[curl : (60) SSL certificate problem: self signed certificate in certificate chain]

linux - 是否可以附加到已经运行的 gdb 进程?

linux - 设备上没有剩余空间

xcode - SwiftUI:结构化编辑弹出框(Command + 单击)不显示

git推送: Missing required Host Header to host GitLab repository

linux - docker 网络 - 无法发现任何可绑定(bind)的网络接口(interface)

ruby-on-rails - Eventmachine start_tcp_server 没有接受者 - 端口正在使用或需要 root 权限(RuntimeError)

ubuntu - 如何为玩具 MPI 集群配置静态 IP?

objective-c - MacOS - 按最近使用的优先顺序获取正在运行的应用程序

python - 通过脚本自动提交和推送 Mercurial