TLS Mutual Authentication

I am looking to deploy a Rust application that uses TLS mutual authentication to verify both the certificate of the client and the server. You can read more about this here. I am wondering if I can make this work with Fly. I know Fly is proxying the HTTP request through a reverse proxy and this would cause issues with this setup. Can I configure Fly to expose my HTTP server via TCP directly without interference from your reverse proxy setup, similar to what you support with UDP?
Any help will be greatly appreciated!

Hi @oscartbeaumont

Yes, you can achieve what you’re after by not using any of the handlers and instead having the fly edge essentially forward the connection on to your app without doing any TLS or HTTP handling for you.

2 Likes