LoginSignup
37
31

More than 5 years have passed since last update.

【Git】「SSL certificate problem: self signed certificate」と表示された時の対処法

Posted at

【原因】

SSLの証明書に問題がある場合(このWebサイトのセキュリティ証明書には問題がありますと表示されると思います。)、「SSL certificate problem: self signed certificate」といったメッセージが表示され、リモートリポジトリからcloneできません。

【対処法】

対処法として以下のように入力します。

git config --global http.sslVerify false

これで.git/configに証明書をチェックしないように設定されるので、git cloneなどした際にエラーメッセージが表示されなくなり、通常のようにできるようになります。

37
31
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
37
31