Couldn't execute POST against https://hostname.tld/api/v4/jobs/request: Post https://hostname.tld/api/v4/jobs/request: x509: certificate signed by unknown authority
$ docker logs -f gitlab-runner Runtime platform arch=amd64 os=linux pid=8 revision=98daeee0 version=14.7.0 Starting multi-runner from /etc/gitlab-runner/config.toml... builds=0 Running in system-mode.
Configuration loaded builds=0 listen_address not defined, metrics & debug endpoints disabled builds=0 [session_server].listen_address not defined, session endpoints disabled builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0 ERROR: Failed to load config stat /etc/gitlab-runner/config.toml: no such file or directory builds=0
Enter the GitLab instance URL (for example, https://gitlab.com/): https://gitlab.example.com/ Enter the registration token: xxxxxxxxxxx Enter a description for the runner: [10c9e0311f06]: xxxxxxxx Enter tags for the runner (comma-separated): xx Registering runner... succeeded runner=xxxxx Enter an executor: kubernetes, docker-ssh, virtualbox, parallels, shell, ssh, docker+machine, docker-ssh+machine, custom, docker: ssh Enter the SSH server address (for example, my.server.com): 127.0.0.1 Enter the SSH server port (for example, 22): 22 Enter the SSH user (for example, root): root Enter the SSH password (for example, docker.io): password Enter the path to the SSH identity file (for example, /home/user/.ssh/id_rsa):
Runner registered successfully. Feel free to start it, but if it's running already the config should be automatically reloaded!