Shopify / toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
https://github.com/shopify/toxiproxy
MIT License
10.82k stars 448 forks source link

How to proxy MTLS connections using Toxiproxy #472

Open AnuradhaBose opened 1 year ago

AnuradhaBose commented 1 year ago

Hi,

I would like to know if Toxiproxy currently supports proxying capability on mutual TLS (mTLS) connections (like Apple pay for example). If yes, need some details/examples on how to create them.

Thanks.

miry commented 1 year ago

Hi. It is not possible right now to made TSL support with Toxiproxy only. It would require to use other proxy in between. For example: App -> SNIProxy -> Toxiproxy -> Apple.

Toxiproxy currently only copy bytes in network, where TLS would require to implement TLS handshake and setup a new connection with Service.