TLS1.3 connection Restriction

I created one application using Websocket when TLS version was 1.2 connection establishment working fine but when server team update TLS1.2 to TLS1.3 due to security enhancement in my project i am getting SSL Handshake fails with code 9836. and NSOSStatusErrorDomain with code 9836. here is my info.plist <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <false/> <key>NSExceptionDomains</key> <dict> <key>myserver.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSExceptionMinimumTLSVersion</key> <string>TLSv1.3</string> </dict> </dict>

So my query here is that even if we specify TLSv1.3 for myserver.com as: <key>NSExceptionMinimumTLSVersion</key> <string>TLSv1.3</string>

we want to restrict only to TLS1.3, even if my request fails, how to achieve this?

What API are you using for this WebSocket connection?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

TLS1.3 connection Restriction
 
 
Q