toxiproxy icon indicating copy to clipboard operation
toxiproxy copied to clipboard

Support HTTPS for Toxiproxy API server

Open miry opened this issue 3 years ago • 1 comments

Currently API could be accessed only via HTTP. Make HTTPS would simplify some extra work to run extra reverse proxy with HTTPS support.

Possible example of set HTTPS config:

toxiproxy --cert <bundle certificate file> --cert-key <private key> --listen https://0.0.0.0:8083

miry avatar Jul 18 '22 10:07 miry

Some Questions for consideration:

  • Should we allow configuring multiple certificates via file(s) and then allow the user to assign these certificates to certain proxies (or the Admin API)
  • I can see use-cases where users might want only some of their proxy listeners to respond via TLS and not all, and they may need separate certificates as well

neufeldtech avatar Jul 19 '22 17:07 neufeldtech