背景
gitの設定値の sslCAPathの設定中に warning: http.sslcapath has multiple values
が発生して設定がうまくできない場合
原因
エラーメッセージ通り複数のsslcapathが設定されている場合にエラーとなる。
複数あるか確認
git config -l | grep ssl
http.sslcapath=/Library/xxx/somecacert1.pem
http.sslcapath=/Library/xxx/somecacert2.pem
解決策
unset-allする。
# いい例
sudo git config --unset-all --system http.sslCAPath
普通にunsetしようとしてもうまくできないので注意
# ダメな例
sudo git config --unset --system http.sslCAPath
参考
Window Git $ git config --global http.proxy warning: http.proxy has multiple values