Legacy TLS Versions Enabled in Apple Networking Configurations

Legacy TLS versions enabled in Apple networking configurations

Description

The minimum TLS version determines which older peers an app can connect to. In Foundation’s URLSessionConfiguration or Security framework protocol options, a minimum of TLS 1.0 or 1.1 allows those versions. A maximum of TLS 1.0 or 1.1 rules out TLS 1.2 and 1.3.

RFC 8996 (IETF BCP 195) prohibits TLS 1.0 and 1.1. They lack support for modern cipher suites and AEAD, and rely on SHA-1 mechanisms for handshake integrity or peer authentication. To tell whether a connection actually used an obsolete version or was downgraded, check the server’s supported versions and observe the connection on its network path.

Apple platform defaults

  • Apple deprecated TLS 1.0 and TLS 1.1 starting with iOS 15, iPadOS 15, macOS 12, watchOS 8, and tvOS 15.
  • For apps linked on or after iOS 26 or macOS 26, the default minimum TLS version in URLSession and the Network framework changed from 1.0 to 1.2.
  • URLSession connections covered by App Transport Security (ATS) require server support for TLS 1.2 or later by default. ATS exceptions can weaken this protection.
  • Apple's 2026 Platform Security documentation states that the operating systems also support TLS 1.0 and TLS 1.1. Explicit legacy settings and apps linked against earlier environments therefore still need attention on current operating systems.

When checking the app’s effective minimum, consider its link target, minimum deployment version, ATS exceptions, and networking API.

Potential impact

  • Connections to legacy peers may use the outdated cryptographic features of TLS 1.0 or 1.1, weakening protection.
  • A maximum of TLS 1.0 or 1.1 can prevent connections to modern-only servers or prolong dependence on obsolete servers.
  • The configuration may fail to meet organizational or compliance requirements for TLS 1.2 or later.

Remediation

  1. Remove settings that enable TLS 1.0 or 1.1, or set the minimum to tls_protocol_version_t.TLSv12. Prefer TLS 1.3 if all required peers support it. Leave the maximum unset unless interoperability requires a cap of TLS 1.2 or higher.
  2. In new code, use tlsMinimumSupportedProtocolVersion or sec_protocol_options_set_min_tls_protocol_version for the relevant API. Migrate deprecated SSLProtocol properties and sec_protocol_options_set_tls_min_version calls.
  3. Update legacy peers or isolate them on dedicated connections. Record the owner, expiry date, and permitted destinations for each exception. Test deployed clients and servers together to confirm they negotiate TLS 1.2 or 1.3.

Examples

Before

swift
import Foundation
import Security
import class Foundation.URLSessionConfiguration

func configureLegacyTLS(
    _ configuration: Foundation.URLSessionConfiguration
) {
    configuration.tlsMinimumSupportedProtocolVersion = .TLSv10
    configuration.tlsMaximumSupportedProtocolVersion = .TLSv11
}

The example limits negotiation to TLS 1.0 or TLS 1.1.

After

URLSession

swift
import Foundation
import Security

let configuration = URLSessionConfiguration.default
configuration.tlsMinimumSupportedProtocolVersion = .TLSv12
// Leave the maximum unset to allow newer versions such as TLS 1.3.
let session = URLSession(configuration: configuration)

Network framework

swift
import Network
import Security

let tlsOptions = NWProtocolTLS.Options()
sec_protocol_options_set_min_tls_protocol_version(
    tlsOptions.securityProtocolOptions,
    .TLSv12
)
let parameters = NWParameters(tls: tlsOptions)

With TLS 1.2 as the minimum and no upper limit, a peer that supports TLS 1.3 can negotiate it. Keep certificate-chain and hostname checks enabled.

References