Jason Fehr has posted comments on this change. ( https://gerrit.cloudera.org/25247 )
Change subject: IMPALA-14331: Support proxy for JWKS URL download ...................................................................... Patch Set 6: Code-Review+1 (5 comments) https://gerrit.cloudera.org/#/c/25247/5//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/25247/5//COMMIT_MSG@22 PS5, Line 22: proxy TLS options are applied whenever they are set, so they also > Done Done https://gerrit.cloudera.org/#/c/25247/5/be/src/kudu/util/curl_util.h File be/src/kudu/util/curl_util.h: https://gerrit.cloudera.org/#/c/25247/5/be/src/kudu/util/curl_util.h@156 PS5, Line 156: PEM file of CA certificates used to verify the TLS certificate > Done Done https://gerrit.cloudera.org/#/c/25247/5/be/src/kudu/util/curl_util.h@164 PS5, Line 164: "sha256//<base64 hash>[;sha256//...]". See : // 'man CURLOPT_PROXY_PINNEDPUBLICKEY > Done Done https://gerrit.cloudera.org/#/c/25247/5/be/src/kudu/util/curl_util.cc File be/src/kudu/util/curl_util.cc: https://gerrit.cloudera.org/#/c/25247/5/be/src/kudu/util/curl_util.cc@283 PS5, Line 283: curl_, CURLOPT_POSTFIELDS, post_data->c_str())); : } : : // Done after CURLOPT_POSTFIELDS in case that resets the method (the docs[1] : // are unclear on whether that happens). : // : // 1. https://curl.haxx.se/libcurl/c/CURLOPT_POSTFIELDS.html : if (!custom_method_.empty()) { : CURL_RETURN_NOT_OK(curl_easy_setopt( : curl_, CURLOPT_CUSTOMREQUEST, custom_method_.c_str())); : } : : i > Done Done https://gerrit.cloudera.org/#/c/25247/5/be/src/util/oauth-servers-manager.cc File be/src/util/oauth-servers-manager.cc: https://gerrit.cloudera.org/#/c/25247/5/be/src/util/oauth-servers-manager.cc@58 PS5, Line 58: options.ca_certificate = std::move(config.ca_cert_file_path); : options.pull_timeout_secs = config.jwks_pull_timeout_secs; : options.update_frequency_secs = config.jwks_update_frequency_secs; : options.proxy = std::move(config.jwks_proxy); : options.proxy_ca_certificate = std::move(config.jwks_proxy_ca_certificate); : options.proxy_pinned_public_key = std::move(config.jwks_proxy_pinned_p > Done Done -- To view, visit https://gerrit.cloudera.org/25247 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6741b8e107f707d3fcc0a9e15ac01b5769191924 Gerrit-Change-Number: 25247 Gerrit-PatchSet: 6 Gerrit-Owner: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Anubhav Jindal <[email protected]> Gerrit-Reviewer: Gokul Kolady <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Thu, 19 Nov 2026 23:17:02 +0000 Gerrit-HasComments: Yes
