LoginSignup
1
0

More than 3 years have passed since last update.

warning: http.sslcapath has multiple values エラー

Posted at

背景

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

1
0
0

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
1
0