Relative Content

Tag Archive for iosreact-nativecloudflare

IOS Mutual TLS fails randomly sometimes

I’m using cloudflare WAF for mutual tls in react native. Have implemented the required delegate authentication method for urlsession. The setup works fine initially. I get ServerTrust challenge and ClientCertificate challenge in succession and it works completely fine.
But randomly sometimes, after a restart or app resume. The request fails. In the logs I can only see Server Trust challenge and NOT client certificate. Is the tls session timing out in some cases?