NSURLSession's SNI Support

Hi,


I have a question regarding NSURLSession's capability of Server Name Indication.

I read few articles from the web that NSURLSession natively supports SNI; however, I'm not able to locate any official documentation from Apple.


Is there anything that iOS client side needs to implement in order to comply with SNI-enabled server.

Or is it just natively supported with NSURLSession out of the box?


Please let me know, and appricate your time on this.


Thanks,

Answered by DTS Engineer in 318807022

Is there anything that iOS client side needs to implement in order to comply with SNI-enabled server.

No. There’s also no customisation for this.

NSURLSession
always uses the host name from the URL for SNI.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer

Is there anything that iOS client side needs to implement in order to comply with SNI-enabled server.

No. There’s also no customisation for this.

NSURLSession
always uses the host name from the URL for SNI.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
NSURLSession's SNI Support
 
 
Q