-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup mTLS proxy server #776
Comments
Do you need a callback to work out which cert to set, or are you setting the cert unconditionally? |
Yes, I need to set user auth certificate unconditionally. This cert will be shown to mTLS proxy with every request through proxy. |
Place the identity cert and any intermediate certs at |
Sorry, I forget to mention - all clients is iOS devices (iPhones, iPads). Fatal error: TLSConfiguration.certificateChain is not supported. You can still use this configuration option on macOS if you initialize HTTPClient with a MultiThreadedEventLoopGroup. Please note that using MultiThreadedEventLoopGroup will make AsyncHTTPClient use NIO on BSD Sockets and not Network.framework (which is the preferred platform networking stack). |
Ah yes, this is a current limitation of async-http-client. You'll need to follow the instructions in that message, to use |
Thanks for giving right direction, I will try to use MultiThreadedEventLoopGroup today and post result here. |
We have a mTLS proxy server in DMZ, and client applications with auth certificate can send requests to private network through it. Currently I using iOS 17.0+ api:
ProxyConfiguration.init(
httpCONNECTProxy: NWEndpoint,
tlsOptions: NWProtocolTLS.Options? = nil
)
sec_protocol_challenge_t is called then proxy asks auth certificate and all proccess is working.
How to setup TLSConfiguration for certificate auth with mTLS proxy ?
The text was updated successfully, but these errors were encountered: