Skip to content

fix(http-caching-proxy): skip SSL verification for outbound HTTPS requests#11467

Open
raymondfeng wants to merge 1 commit intomasterfrom
fix/http-caching-proxy-ssl
Open

fix(http-caching-proxy): skip SSL verification for outbound HTTPS requests#11467
raymondfeng wants to merge 1 commit intomasterfrom
fix/http-caching-proxy-ssl

Conversation

@raymondfeng
Copy link
Contributor

Summary

  • Add an httpsAgent with rejectUnauthorized: false to the proxy's internal Axios client
  • Fixes "Error: unable to get local issuer certificate" when proxying HTTPS requests (e.g. on Node 24)
  • This proxy is a test utility — strict SSL verification adds no value here

Test plan

  • All 13 tests in @loopback/http-caching-proxy pass, including proxies HTTPs requests (no tunneling)

🤖 Generated with Claude Code

…uests

The proxy's internal Axios client failed with "unable to get local
issuer certificate" when forwarding HTTPS requests. Use an https agent
with rejectUnauthorized: false since this is a test utility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant