Register fails for untrusted certificates
After filling out everything which sudo gitlab-ci-multi-runner register
requires I get:
ERRO[0019] xxx Registering runner... failed couldn't execute POST against https://git.example.com/ci/api/v1/runners/register.json: Post https://git.example.com/ci/api/v1/runners/register.json: x509: certificate signed by unknown authority
FATA[0019] Failed to register this runner. Perhaps you are having network problems
I'm using a self-signed certificate without a valid root-certificate. How can I trust this certificate so I can get the runner up and running?