TLS 1.3 connection fail

I 'm using old third party tool (ASIHttpRequest) to connect a web server which enable TLS 1.3 protocol, but it always return the error message : "errSSLPeerProtocolVersion = -9836, / bad protocol version /."

If web server change protocol to TLS 1.2, it's fine, has someone know how to resolve this issue?

ASIHttpRequest is based on CFHTTPStream and, as I mentioned in your other thread, that does not support TLS 1.3.

IMPORTANT CFHTTPStream has been deprecated for many years now (since 2015, that is, macOS 10.11 and iOS 9). If you’re using this API you should move over to the NSURLSession (aka the Foundation URL Loading System) as soon as possible.

Share and Enjoy

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

TLS 1.3 connection fail
 
 
Q