macOS Error Code -1200
The TLS handshake failed.
The TLS handshake failed.
| Code | -1200 |
| Product | macOS |
| Company / origin | Apple · United States |
| Category | Operating Systems |
| Platform / versions | macOS 12 and later · NSURLErrorDomain |
| Severity | fatal |
| Official source | Apple Developer: NSURLErrorDomain ↗ |
| Last verified | 2026-11-08 |
What does macOS error -1200 mean?
NSURLErrorSecureConnectionFailed (-1200) means macOS could not establish a secure connection. The certificate may be invalid, the TLS version may be unsupported, or a proxy may be intercepting TLS.
Common causes
- The certificate is expired, self-signed, or issued for another host.
- The server only supports a TLS version macOS refuses.
- A corporate proxy is intercepting TLS without a trusted root.
How to fix it
- Step 1
Test the endpoint with openssl s_client and check the certificate chain.
- Step 2
Confirm the server supports TLS 1.2 or 1.3 with modern ciphers.
- Step 3
If a corporate proxy is involved, install its root CA through the approved management channel.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
-1202 | The Server Certificate Is Untrusted | The server certificate is not trusted by macOS. |
-1001 | The Request Timed Out | The request did not complete within the allowed time. |
-1003 | Cannot Find Host | The hostname could not be resolved. |
-1004 | Cannot Connect to Host | The host was found, but the connection could not be established. |
-1005 | The Network Connection Was Lost | The connection was established but then dropped. |
Source & verification
This page was checked against Apple Developer: NSURLErrorDomain on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with Apple. Always confirm destructive or security-sensitive steps with the official documentation.