Search code examples
gitgitlabssl-certificate

GITLAB SSL certificate problem: unable to get local issuer certificate


I'm trying to push my first project in gitLab but i get this error "fatal: unable to access 'https://.git. : SSL certificate problem: unable to get local issuer certificate"


Solution

  • finally i find the solution here https://newbedev.com/invalid-ssl-certificate-when-pushing-to-git-server

    After reading and making the settings, you should do

    git config --system http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"

    and in the root of your project that you are uploading to gitLab you should do

    git config http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"