Gitlab public runner faces ssl certificate problem

I am using the gitlab public runners to build my code.

All of a sudden I face this issue in the pipeline of my project:

“fatal: unable to access … SSL certificate problem: unable to get local issuer certificate”

This is the log of the runner:

Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/my-org/my-repository-name/.git/
Created fresh repository.
fatal: unable to access 'https://git-us-east1-d.ci-gateway.int.gprd.gitlab.net:8989/my-org/my-repository-name.git.git/': SSL certificate problem: unable to get local issuer certificate

This is logged before any other hooks like “before_script” are executed.

The only step that happens before is pulling the docker image " sleavely/node-awscli:16.x" .
Which succeeds and has not changed since before this issue started appearing.

As desperate measure I already tried adding a .gitconfig file with:

[http "https://*.gitlab.net"]
    sslVerify = false

Although I think the issue has a source elsewhere

Does anyone know what is going on?

I had a gitlab runner ENV VAR named “CI_PROJECT_PATH” with value “my-org/my-repo.git”.
It never caused problems before.
But now I’ve changed it to “my-org/my-repo” and the problem is fixed :+1: