モノノフ日記

普通の日記です

GitHubでgit cloneする際に "Problem with the SSL CA cert (path? access rights?) でエラー回避したメモ

環境移行する時に怒られたのでメモ。 以下のようなエラーが出ました。

error: Problem with the SSL CA cert (path? access rights?) while accessing https://github.com/hogehoge/foobar.git/info/refs

.gitconfigでhttp.sslVerifyをfalse設定すれば通るようになりました。

git config --global http.sslVerify false