Hello,
We have working NEAppProxyProvider supporting both TCP and UDP and it works well on iOS 9.
But when we test it on iOS 10 Beta, TLS authentication fails and we get error:
nw_coretls_read_one_record tls_handshake_process: [-9824] for NWTCPConenction.
When we analyzed the wireshark dump, it looks like the Client Certificate is not set even if we provide it in: -
(void)provideIdentityForConnection:(NWTCPConnection *)connection completionHandler:(void (^)(SecIdentityRef identity, NSArray<id> *certificateChain))completion.
The same piece of code works fine on iOS 9.
Is there any change in the way we need to set the certificate for TLS on NWTCPConnection?
Thanks and regards,
Sanjay.