I have an SSL problem when I try push via HTTPS from Windows git bash client. The error is: SSL certificate problem: unable to get local issuer certificate.
I use an Apache webserver. I have a trusted certificate and see the green bar in the browser when visit the website.
Config on the client:
git config -l --show-origin
file:“C:\ProgramData/Git/config” core.symlinks=true
file:“C:\ProgramData/Git/config” core.autocrlf=true
file:“C:\ProgramData/Git/config” core.fscache=true
file:“C:\ProgramData/Git/config” color.diff=auto
file:“C:\ProgramData/Git/config” color.status=auto
file:“C:\ProgramData/Git/config” color.branch=auto
file:“C:\ProgramData/Git/config” color.interactive=true
file:“C:\ProgramData/Git/config” help.format=html
file:“C:\ProgramData/Git/config” rebase.autosquash=true
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
file:C:/Program Files/Git/mingw64/etc/gitconfig http.sslbackend=openssl
file:C:/Program Files/Git/mingw64/etc/gitconfig diff.astextplain.textconv=astextplain
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.clean=git-lfs clean – %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.smudge=git-lfs smudge – %f
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.process=git-lfs filter-process
file:C:/Program Files/Git/mingw64/etc/gitconfig filter.lfs.required=true
file:C:/Users/username/.gitconfig core.editor=“c:\Program Files\Notepad++\notepad++.exe”
file:C:/Users/username/.gitconfig core.autocrlf=false
file:C:/Users/username/.gitconfig user.name=username
file:C:/Users/username/.gitconfig user.email=a.b@c.com
file:C:/Users/username/.gitconfig user.password=password
file:C:/Users/username/.gitconfig http.sslverify=true
file:C:/Users/username/.gitconfig http.sslcainfo=C:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt
file:C:/Users/username/.gitconfig http.https://example.hu/.sslcainfo=C:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt
file:.git/config core.repositoryformatversion=0
file:.git/config core.filemode=false
file:.git/config core.bare=false
file:.git/config core.logallrefupdates=true
file:.git/config core.symlinks=false
file:.git/config core.ignorecase=true
file:.git/config remote.origin.url=https://example.hu/username/test.git
file:.git/config remote.origin.fetch=+refs/heads/:refs/remotes/origin/
file:.git/config branch.master.remote=origin
file:.git/config branch.master.merge=refs/heads/master