Score:0

Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown authority

jp flag

Using a runner on a fresh Debian machine, when a job tries to connect to officiel Gitlab registry, I catch this error :

Get https://registry.gitlab.com/v2/: x509: certificate signed by unknown authority

I don't understand why, their certificat is an official one, valid.

So I tried to change config of my runner:

  [runners.docker]
    tls_verify = false
    image = "alpine:latest"
    privileged = false
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0

And even add this to /etc/docker/daemon.json:

{
    "insecure-registries" : [ "registry.gitlab.com" ]
}

But still the error (I rebooted both docker & Gitlab runner container)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.