Ask questionsUnable to clone GitLab repositories with self signed certificate
Users are unable to clone GitLab repositories with self signed certificates – even when adding the certificate to the GitLab external service configuration as documented here: https://docs.sourcegraph.com/admin/external_service/gitlab#configuration
Implementation details can be found here: https://email@example.com/-/blob/cmd/repo-updater/repos/gitlab.go#L243
GitLab external service should use the certificate provided to clone repositories.
Repositories are discovered, but unable to clone with the following error.
repo not found (name=some-host/some/repo/path url=https://git:xxxxxx@some-host/some/repo/path.git notfound=false) because exit status 128 (output follows) fatal: unable to access 'https://git:xxxxxx@some-host/some/repo/path.git/': SSL certificate problem: unable to get local issuer certificate
Answer questions keegancsmith
@sourcegraph/core-services so we need to update gitserver so that we git config
http.sslCAInfo per repo? Alternatively we can document how users can do globally set the git config
http.sslVerify. Does that sound like the path forward?
Related questionsNo questions were found.