in application, using nsurlconnection make network calls. however, uses ssl v3 default; need use tls v1.1/1.2 nsurlconnection.
i have gone through several sources available online, none of them proved useful. also, there seems no way can stop nsurlconnection using ssl v3. there way using nsurlconnection can forced use tls v1.1/1.2, or have alter code use cfstream apis or securetransport apis provided apple?
from app transport security technote
excerpt fron te document:
default behavior
all connections using nsurlconnection, cfurl, or nsurlsession apis use app transport security default behavior in apps built ios 9.0 or later, , os x 10.11 or later. connections not follow requirements fail.
the app transport security requirements: server must support @ least transport layer security (tls) protocol version 1.2.
Comments
Post a Comment