Apple has introduced a few changes with it’s App Transport Security when working with Open SSL and I can’t make it work on iOS.
“App Transport Security is a feature that improves the security of
connections between an app and web services. The feature consists of
default connection requirements that conform to best practices for
secure connections. Apps can override this default behavior and turn
off transport security. Transport security is available in iOS 9.0 or
later, and in OS X v10.11 and later.”
When trying to connect to our server, I get the following response error:
“An SSL error has occurred and a secure connection to the server cannot be made.”
Then, I found this tutorial and discovered that all we need to do is to include the unit IdSSLOpenSSLHeaders_Static in one of the uses statements of the project.
I did add the unit and both libcrypto.a and libssl.a. libraries to the project but so far I’m getting the same response error.
What could I possibly be doing wrong?