Skip to content

The agent that grows with you

fix(ssl): drop env-ladder rungs that re-entered resolve_httpx_verify in the upstream merge

ethernetf6d88e4151a8
diff --git a/agent/ssl_verify.py b/agent/ssl_verify.py
index d14f395be2f..e3cecb5442e 100644
--- a/agent/ssl_verify.py
+++ b/agent/ssl_verify.py
@@ -117,13 +117,7 @@ def resolve_httpx_verify(
)
return False
- effective_ca = (
- (ca_bundle or "").strip()
- or os.getenv("HERMES_CA_BUNDLE", "").strip()
- or os.getenv("SSL_CERT_FILE", "").strip()
- or os.getenv("REQUESTS_CA_BUNDLE", "").strip()
- or os.getenv("CURL_CA_BUNDLE", "").strip()
- )
+ effective_ca = (ca_bundle or "").strip()
if effective_ca:
path = Path(effective_ca).expanduser()
if path.is_file():