我们在Debian,GitLab 7.1.0上运行了一个gitlab服务器。
SSL证书已过期,昨天已配置并添加了新证书。
现在,用户在推送到服务器时会报告错误。
认为它可能是客户端错误,可能是过期或重复的证书。 但是同样的错误发生了。所有客户端都是运行OS X 10.10.5
的Mac运行Ruby:ruby 2.0.0p481(2014-05-08修订版45883)[universal.x86_64-darwin14]
以下是错误:
git-tester:gifs_of_disapproval_ droga5_$ git push Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 258 bytes | 0 bytes/s, done. Total 3 (delta 1), reused 0 (delta 0) remote: /usr/lib/ruby/1.9.1/net/http.rb:799:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) remote: from /usr/lib/ruby/1.9.1/net/http.rb:799:in `block in connect' remote: from /usr/lib/ruby/1.9.1/timeout.rb:54:in `timeout' remote: from /usr/lib/ruby/1.9.1/timeout.rb:99:in `timeout' remote: from /usr/lib/ruby/1.9.1/net/http.rb:799:in `connect' remote: from /usr/lib/ruby/1.9.1/net/http.rb:755:in `do_start' remote: from /usr/lib/ruby/1.9.1/net/http.rb:744:in `start' remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:76:in `get' remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?' remote: from /home/git/gitlab-shell/lib/gitlab_update.rb:39:in `exec' remote: from hooks/update:13:in `' remote: error: hook declined to update refs/heads/master To https://git.d5servers.com/athenos/gifs_of_disapproval_.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'https://git.d5servers.com/athenos/gifs_of_disapproval_.git'
我试过强迫它使用http:
git config --global http.sslVerify false
但错误仍然存在。
非常感谢任何建议。
谢谢,
米奇