source-controller icon indicating copy to clipboard operation
source-controller copied to clipboard

Add Custom Git Client TLS config for WAF-Secured Repos

Open VasylR opened this issue 2 years ago • 0 comments

Add Custom Git Client for WAF-Secured Repos

Introduce a custom Git client to handle repositories behind Web Application Firewalls (WAF). This client facilitates TLS certificate-based authentication, enabling secure Git operations in corporate environments.

A typical example of such configuration would be a private Gitlab instance behind Cloudflare web application firewall. To enable git flow in such environment, one would need to retrieve the TLS keys from Cloudflare and use them to authenticate with Cloudfalre. After successful authentication, the Cloudflare firewall would redirect the request to Gitlab instance.

This is initial commit that works with Gitlab access token. Further development needs to be done to enable more diverse authentication options after the WAF authentication.

VasylR avatar Dec 01 '23 15:12 VasylR