iOS Question Sanity check: Does HttpClient.InitializeAcceptAll actually work?

Sandman

Expert
Licensed User
Longtime User
For development reasons I'm using a proxy between my app and the server backend, to speed up development and easier inspect the traffic between them. To be able to do this, one have to disable the certificate checks. On Android one does this with HttpClient.InitializeAcceptAll, and it works perfectly.

However, on iOS it doesn't work at all for me. I am certain that I'm using .InitializeAcceptAll and yet I get ”An SSL error has occurred and a secure connection to the server cannot be made.”

I realize that I'm probably in a very small minority using this feature, but I thought I'd ask at least:

Can somebody please verify that HttpClient.InitializeAcceptAll works using B4i/iOS?
 

Sandman

Expert
Licensed User
Longtime User
Thanks, I'll investigate further and report back here if I find something relevant.

In the meantime, yesterday I actually did search for web sites with invalid certs. I found this golden resource: https://badssl.com/
 
Upvote 0
Top