macOS · Secure Connection Failed

macOS Error Code -1200

The TLS handshake failed.

fatalLast verified 2026-11-08Apple Developer: NSURLErrorDomain
Quick answer

The TLS handshake failed.

Code-1200
ProductmacOS
Company / originApple · United States
CategoryOperating Systems
Platform / versionsmacOS 12 and later · NSURLErrorDomain
Severityfatal
Official sourceApple Developer: NSURLErrorDomain ↗
Last verified2026-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

  1. Step 1

    Test the endpoint with openssl s_client and check the certificate chain.

  2. Step 2

    Confirm the server supports TLS 1.2 or 1.3 with modern ciphers.

  3. Step 3

    If a corporate proxy is involved, install its root CA through the approved management channel.

When to escalate

Before you escalate: If a macOS URL error persists across networks and after restarting the app, capture the code, the URL, the time, and the Console log entries for the app, then contact the app developer or Apple Support with the details.

Related codes

CodeNameWhat it means
-1202The Server Certificate Is UntrustedThe server certificate is not trusted by macOS.
-1001The Request Timed OutThe request did not complete within the allowed time.
-1003Cannot Find HostThe hostname could not be resolved.
-1004Cannot Connect to HostThe host was found, but the connection could not be established.
-1005The Network Connection Was LostThe 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.