GCP C++ SDK - Setting HTTP proxy and disabling SSL certificate verification

580 Views Asked by At

How can we set HTTP proxy for GCP C++ SDK?

Setting env variables using the "http_proxy" does not seem to have an effect.

Setting the SSL_CERT_FILE env variable also does not affect the SSL certificate path. CURL always seems to be using the default certificate directory.

Also, is there a way to disable SSL certificate verification in the GCP C++ SDK?

1

There are 1 best solutions below

0
coryan On

This seems like a duplicate of this question on GitHub:

https://github.com/googleapis/google-cloud-cpp/issues/5584

I have answered there.