LoginSignup
10

More than 5 years have passed since last update.

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/xxx/xxx.git/info/refs の対応

Posted at

ContOSが古い場合

(GitHubにおけるSSLの認証エラーを回避するため、EV SSL用ルート証明書を追加する) [http://d.hatena.ne.jp/tetsuyai/20110924/1316877887]

2011年5月末以降、github.comにはDigiCertのEV SSL証明書(DigiCert HighAssurance EV CA-1)が使われるようになりました。しかし、CentOS 5の標準パッケージにはDigiCertのEV SSL用ルート証明書(DigiCert High Assurance EV Root CA)が含まれていないため、cloneしようとしたところでSSLの認証エラーが発生します。

この対応がよい↓

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing」の解決方法
http://d.hatena.ne.jp/tututen/20120216/1329358618

$ sudo curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10