Ignore certificate errors when creating proxy over a https url
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12.4k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
I want to simulate a latency scenario where a https url is called from our java service within kubernetes cluster. toxiproxy is deployed in a separate service and pod within the same cluster.
After creating proxy and updating the url in our service with the new proxied url, we get the below errors within toxiproxy:
from postman we are able to suppress errors with -k, without -k flag or when the calls goes from java service using RestTemplate we get error "error":"writeto tcp x.x.x.x:443->x.x.x.x:64473: read tcp x.x.x.x:443->x.x.x.x:64473: use of closed network connection","caller":"link.go:127","time":"2025-06-04T18:03:56Z","message":"Source terminated"}
I am not sure how to bypass these certificate errors without any code changes.
Is there any setting within toxiproxy for ssl configuration? Or suggested changes within kubernetes to bypass/validate certificates for proxied url.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no file, test, or entry point. Start by reproducing the HTTPS proxy call from the Java RestTemplate setup in Kubernetes and determine how toxiproxy handles TLS; done would be an identified supported setting or a documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, java, kubernetes, postman
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100