LoginSignup
14
11

More than 5 years have passed since last update.

GitでSSL認証失敗のエラーが出る

Posted at

GitLabなど自前でGitサーバを立て、さらにSSL認証を入れている場合、以下のようなエラーが出る。これは、SSL認証失敗によるものである。

fatal: unable to access 'https://xxxxxx.xxx/xxxxx.git/': Peer certificate cannot be authenticated with known CA certificates

証明書を認証・更新するのがベストですが、オレオレだし面倒だしSSL認証しない設定にする。(あんまり良くない)

git config http.sslVerify false
14
11
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
14
11