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
URLSessionand the Network framework changed from 1.0 to 1.2. URLSessionconnections 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
- 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. - In new code, use
tlsMinimumSupportedProtocolVersionorsec_protocol_options_set_min_tls_protocol_versionfor the relevant API. Migrate deprecatedSSLProtocolproperties andsec_protocol_options_set_tls_min_versioncalls. - 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
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
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
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
- Apple:
URLSessionConfiguration.tlsMinimumSupportedProtocolVersion - Apple: Security framework TLS protocol options
- Apple:
sec_protocol_options_set_min_tls_protocol_version - Apple: TLS 1.0 and 1.1 deprecation notice
- Apple: macOS 26 release notes
- Apple Platform Security: TLS security
- CodeQL: Insecure TLS configuration
- RFC 8996: Deprecating TLS 1.0 and TLS 1.1
- NIST SP 800-52 Rev. 2
- CWE-757: Selection of Less-Secure Algorithm During Negotiation
- OWASP Top 10:2025 A04 Cryptographic Failures