Hello,
I'm using NSURLSessionStreamTask to setup a bidirectional network connection.
While sniffing around with Wireshark, I noticed that the connection established with this API uses to TLS1.2. The other NSURLSessionDataTasks my application uses default to TLS1.3 without any TLS specific configuration
I also tried forcing the NSURLSession to use TLS 1.3 by setting the following configuration on the NSURLSession
+ [configuration setTLSMinimumSupportedProtocol:kTLSProtocol13];
+ [configuration setTLSMaximumSupportedProtocol:kTLSProtocol13];
However, I noticed no change to the connection in Wireshark when I did this (it continued to only negotiate TLS 1.2) (I also tried the setTLSMinimumSuppoertedProtocolVersion api).
Is there a different way to configure TLS for NSURLSessionStreamTask versus the other type of NSURLSessionTasks? Is there anythign else to try?