93 文字
1 分
gitでSSLエラーが出たときの対処法
vimのBundle installするとエラーが出て困った。
error: SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/goodpic/hoge.git/info/refs原因はgithubのレポジトリURLがSSLで指定されていて、CA証明書がローカルにインストールされていない場合に起きる。
~/.gitconfigに以下を追加すると証明書のチェックをスキップできる。
[http] sslVerify = false gitでSSLエラーが出たときの対処法
https://blog.teraren.com/posts/git-ssl/