Cannot upload artifacts: Peer's certificate not recognized

Hi I am also getting same error when try to run jobs from GitLab. I have installed GitLab runner in other machine and registered successfully with GitLab. I have placed signed certificate downloaded it from GitLab machine placed under GitLab-runner/certs/domainname.crt. Could someone let us know what is the problem here and provide solution quickly.

Running with gitlab-runner 12.10.3 (2910048c)
on xxxxxx-runner xxxxxxjb
Preparing the “shell” executor
Preparing environment
Running on xxxxxxxxxx…
Getting source from Git repository
Fetching changes with git depth set to 50…
Initialized empty Git repository in /home/gitlab-runner/builds/xxxxxxx/0/gitlabadmin/xxxxxx/.git/
Created fresh repository.
fatal: unable to access ‘https://gitlab-ci-token:[MASKED]@xxxxxxxxxxx/gitlabadmin/xxxxx.git/’: Peer’s Certificate issuer is not recognized.
Uploading artifacts for failed job
ERROR: Job failed: exit status 1

Hi,

I’ve split your reply into a new topic, since the original topic is quite old and error patterns and environments might change over time.

Can you please elaborate on the steps from

I have placed signed certificate downloaded it from GitLab machine placed under GitLab-runner/certs/domainname.crt

How and why did you do that, and have your verified the TLS certificate being signed correctly before uploading it?

Cheers,
Michael

Hi Michael ,
Thanks for response. I meant to say , I have copied the certificate[Signed] from my gitlab server and placed it in gitlab runner server and registered the runner successfully but when i run the job it is throwing the peer certificate issue. Please suggest.