Adhitya
Adhitya

Reputation: 1

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

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?

Upvotes: 0

Views: 637

Answers (1)

coryan
coryan

Reputation: 826

This seems like a duplicate of this question on GitHub:

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

I have answered there.

Upvotes: 0

Related Questions