Unable to set issuer certificate when using SSL and Docker executor
Hi,
I'm getting following error on my gitlab build page (https://myserver.org:10443/myusername/Sandbox/builds/71), even though I'm using a trusted server certificate. I also copied the root certificate chain of my institution into /etc/gitlab-runner/certs/ca.crt.
My setting:
- gitlab-runner as docker container
- gitlab-runner executor: docker
- gitlab-ce omnibus as docker container
gitlab-ci-multi-runner 1.0.4 (014aa8c)
Using Docker executor with image java:latest ...
Pulling docker image java:latest ...
Running on runner-xxxxxx-project-1-concurrent-0 via myrunnerserver.org...
Cloning repository...
Cloning into '/builds/myusername/Sandbox'...
fatal: unable to access 'https://gitlab-ci-token:xxxxxx@myserver.org:10443/myusername/Sandbox.git/': SSL certificate problem: unable to get issuer certificate
ERROR: Build failed with: exit code 1
I tried pretty much everything to additionally install my root certificate at the container running gitlab-runner and also to install the certificate at the gitlab server, without any effect.
Is there anything else one should consider when using this specific setting?