3

私はGITクライアントからレポに接続しSTASHていSSLverify=falseますSSL.

次の手順を実行しました

  1. Firefox を使用して証明書をインポートし、フォルダのPEM下にファイルを保存しましたgit/bin
  2. ファイルgit config --system http.SSLCAinfoに設定cert.pem

しかし、プルしようとするとエラーが発生します"SSL certificate problem: unable to get local issuer certificate"

これは私のgit configにあるものです

$ git config --list
core.symlinks=false
core.autocrlf=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
pack.packsizelimit=2g
help.format=html
http.sslcainfo=C:/Program Files (x86)/Git/bin/cert.pem
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
gui.recentrepo=H:/customerSrv
gui.recentrepo=H:/New folder
http.sslcainfo=C:/Program Files (x86)/Git/bin/cert.pem
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
core.hidedotfiles=dotGitOnly
remote.origin.url=https://***@stash.***.net/scm/at/customersrv.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
http.sslcainfo=C:/Program Files (x86)/Git/bin/cert.pem

PS: サーバーが自己署名証明書を使用しているため、cacert.pemファイルが機能しないことはわかっています。

どんな助けでも大歓迎です。

4

0 に答える 0