Redhatで「git clone」を実行したときの証明書設定エラー

Redhatで「git clone」を実行したときの証明書設定エラー

間違い:

% git clone --depth 1 http://github.com/junegunn/fzf.git ~/Downloads/fzf
Initialized empty Git repository in ~/Downloads/fzf/.git/
error: error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none while accessing http://github.com/junegunn/fzf.git/info/refs

RHELバージョン:

% cat  /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)

ca 証明書がインストールされていないようです。

% which ca-certificates
/usr/bin/which: no ca-certificates in ( ... )

root アクセス権がありません。この問題を解決する方法はありますか?

ベストアンサー1

Gitが期待する証明書はありません。同じ質問に答えました。ここ

おすすめ記事