Skip to content

Conversation

pawelpabich
Copy link

@pawelpabich pawelpabich commented Aug 14, 2023

Background

Some environments require all traffic to be decrypted and inspected by a centralized proxy. This is usually done by implementing MITM, where the proxy becomes a trusted Root Authority and the clients trust all certificates issued by it. Halibut security is based on certificate pinning, which breaks MITM.

This PoC proposes to support the first leg of MITM (halibut -> proxy) by adding an option to Halibut to allow it to trust any cert issued by a trusted root authority.

Note: Explore options to combine IClientCertificateValidator and ITrustProvider as they seem to be doing the same thing, just at 2 different ends of the connection.

@jimmyp
Copy link

jimmyp commented May 28, 2024

@pawelpabich I found this in our docs. Is the reason that configuring custom certificates isn't enough to facilitate MITM by configuring tentacle and server to trust the certs presented by the proxy, that the proxies generate new certificates often?

@pawelpabich
Copy link
Author

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.

2 participants