SSL certificate problem: Unable to get local issuer certificate

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

The following is seen on the command line when pushing or pulling:

SSL Certificate problem: unable to get local issuer

原因

This error occurs when a self-signed certificate cannot be verified. 

回避策

Tell git to not perform the validation of the certificate using the global option:

git config --global http.sslVerify false

(warning) Please be advised disabling SSL verification globally might be considered a security risk and should be implemented only temporarily


ソリューション 

There are several ways this issue has been resolved previously. Below we suggest a possible resolution that should be run on the client side:

A. Ensure the root cert is added to git.exe's certificate store.

B. Tell Git where to find the CA bundle by running:

git config --system http.sslCAPath /absolute/path/to/git/certificates
or copying the CA bundle to the /bin directory and adding the following to the gitconfig file:


sslCAinfo = /bin/curl-ca-bundle.crt


C. Reinstalling Git.

D. Ensuring that the complete CA is present, including the root cert.


説明

The following is seen on the command line when pushing or pulling: SSL Certificate problem: unable to get local issuer. This error occurs when a self-signed certificate cannot be verified. 

製品Bitbucket
プラットフォームサーバー
最終更新日 2021 年 1 月 13 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.