SSL connect error when push to server
Created by: hzb
I push to server, and it shows following errors
$ git push -u origin master
Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 294 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: /usr/local/lib/ruby/2.1.0/net/http.rb:920:inconnect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) remote: from /usr/local/lib/ruby/2.1.0/net/http.rb:920:in
block in connect' remote: from /usr/local/lib/ruby/2.1.0/timeout.rb:76:intimeout' remote: from /usr/local/lib/ruby/2.1.0/net/http.rb:920:in
connect' remote: from /usr/local/lib/ruby/2.1.0/net/http.rb:863:indo_start' remote: from /usr/local/lib/ruby/2.1.0/net/http.rb:852:in
start' remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:76:inget' remote: from /home/git/gitlab-shell/lib/gitlab_net.rb:31:in
allowed?' remote: from /home/git/gitlab-shell/lib/gitlab_update.rb:39:inexec' remote: from hooks/update:13:in
' remote: error: hook declined to update refs/heads/master To https://domain.com/workapi.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'https://domain.com/workapi.git'