Use CA cert to communicate with GitLab server

What does this MR do?

Uses the cert from the CI_SERVER_TLS_CA_FILE variable to communicate with the GitLab server. This resolves a bug where site validation doesn't work when the runner is configured to communicate with the server using a self-signed cert supplied by the tls-ca-file runner option.

What are the relevant issue numbers?

DAST Site Profile Validation Fails with Self-Si... (gitlab-org/gitlab#416670 - closed) • David Coy • Backlog

GitLab Docs MR

Remove self-signed cert limitation for site val... (gitlab-org/gitlab!187792 - merged) • David Nelson • 18.0

Edited by David Nelson

Merge request reports

Loading