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?