Error on registering GitLab-Runner

Hi

I use community version of gitlab.

I follow this page to register my runner
image

then I got this error.

Please help.

John.

Hi @springile
please see the docs

Hi Balonik

After reading this:

  • Specify a custom certificate file : GitLab Runner exposes the tls-ca-file option during registration ( gitlab-runner register --tls-ca-file=/path ), and in config.toml under the [[runners]] section. This allows you to specify a custom certificate file. This file will be read every time the runner tries to access the GitLab server.

I try to solve my problem by providing a certificate file.

But how to create a certificate file in win10 64?

Please help

Thanks

John.

You need to put there Certificate file of the GitLab instance.

Hi Balonik

I used the gitlab.crt file from the server where gitlab is hosted.

I got this error:

Please help.

Thanks.

John.