How to specify TLS Client Certificate for ExternalProject/FetchContent

Hi,

Is it possible to specify a client certificate for use with GIT or SVN in ExternalProject or FetchContent (or do I have to formulate a custom DOWNLOAD_COMMAND)?

I have to fetch content from a GIT server that requires clients to present a certificate.

Kolja

Ah, it’s possible using “GIT_CONFIG http.sslCert=…” etc.

But that doesn’t apply to submodules when cloning --recursive :frowning: - the config is not used when fetching them. Also, I had no luck yet with setting global config beforehand (and I’d like to avoid that anyway)