How to Fix ‘Safari Cannot Open the Page Because It Could Not Establish a Secure Connection’

The error message “Safari cannot open the page because it could not establish a secure connection” occurs on macOS, iOS, and iPadOS when Apple’s web browser fails to complete a Transport Layer Security (TLS) or Secure Sockets Layer (SSL) cryptographic handshake with the destination web server. Because Safari strictly enforces modern encryption standards (mandating TLS 1.2 or TLS 1.3 and rejecting weak cipher suites), any cryptographic mismatch, corrupted local certificate in macOS Keychain, or unsynchronised system clock immediately blocks the connection. Resolving this issue involves verifying system time, managing certificates in Keychain Access, and clearing browser caches.

Understanding Why Safari Rejects Secure Connections

During an HTTPS handshake, Safari and the target web server must agree on a mutually supported encryption protocol version and cryptographic cipher suite. If the server only supports deprecated protocols (such as SSL 3.0 or TLS 1.0/1.1), or if the certificate authority hierarchy cannot be validated against Apple’s built-in root trust store, WebKit halts page rendering to prevent man-in-the-middle (MITM) attacks.

Key technical causes include:

  • Operating System Date/Time Inaccuracies: TLS certificates specify strict validity timestamps. If the local system time deviates, certificate validation fails.
  • Corrupted Keychain Certificates: Stale intermediate certificates or expired root trust anchors stored within the macOS Keychain.
  • Unsupported Server Encryption Ciphers: The destination server relies on legacy, deprecated encryption algorithms that modern Safari releases refuse to negotiate. If you face broader address parsing issues, refer to our guide on fixing Safari cannot open the page because the address is invalid.
  • Third-Party Antivirus / Firewall Interception: Endpoint security suites attempting SSL proxy inspection with invalid local certificates.
Component Role in SSL Handshake Common Failure State
Local Clock Establishes current epoch timestamp Time drift renders valid certificates expired
Keychain Access Stores root and intermediate trust anchors Corrupted trust settings or self-signed certificate locks
TLS Negotiation Selects cipher suite and protocol version Server only offers deprecated TLS 1.0/1.1
DNS Resolver Resolves domain to authentic server IP DNS spoofing or stale cache routing to obsolete IP

Step 1: Verify System Date and Time Synchronisation

System time discrepancies represent the most common reason for TLS handshake rejections on Apple devices.

On iPhone and iPad

  1. Open the Settings app.
  2. Tap General > Date & Time.
  3. Ensure that Set Automatically is toggled On.
  4. Verify that the designated Time Zone accurately matches your physical location.

On macOS

  1. Click the Apple menu and select System Settings.
  2. Navigate to General > Date & Time.
  3. Ensure Set time and date automatically is enabled.
  4. Verify that the server address is set to Apple’s network time server (time.apple.com).

Step 2: Inspect and Delete Conflicted Certificates in Keychain Access (Mac)

If you recently imported custom certificates or experienced an interrupted certificate renewal, macOS Keychain may contain conflicting certificate authorities.

  1. Open Finder, go to Applications > Utilities, and launch Keychain Access.
  2. In the left sidebar, select System (or login) and click the Certificates tab at the top.
  3. Look for any certificates marked with a red X icon (indicating an expired or untrusted certificate).
  4. If you locate an expired certificate associated with the domain you are trying to visit, right-click it and choose Delete.
  5. Search for any duplicate certificates issued by common authorities (such as Let’s Encrypt or DigiCert) and remove the older, expired copy.
  6. Restart Safari and reload the page.

Step 3: Clear Safari History and Website Data

Stale HTTP Strict Transport Security (HSTS) cache records can force Safari to connect using outdated cryptographic requirements.

  1. Open Safari.
  2. In the top menu bar, click Safari and select Settings (or Preferences).
  3. Select the Privacy tab and click Manage Website Data….
  4. Search for the domain throwing the secure connection error.
  5. Select the domain and click Remove.
  6. Click Done.
  7. To clear global cache files, enable the Develop menu (under Settings > Advanced > Show features for web developers), then click Develop > Empty Caches from the menu bar.

Step 4: Change DNS Servers to Cloudflare or Google DNS

Corrupted ISP DNS servers can route HTTPS requests to incorrect or legacy IP addresses that fail certificate domain name validation.

  1. On macOS: Go to System Settings > Wi-Fi, click Details next to your network, and select the DNS tab.
  2. Click the + button to add public DNS addresses:
    • Primary: 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google)
    • Secondary: 1.0.0.1 or 8.8.4.4
  3. Click OK and Apply.
  4. On iOS: Go to Settings > Wi-Fi, tap the (i) icon next to your network, tap Configure DNS, select Manual, and add 1.1.1.1.

Step 5: Disable IPv6 Temporarily

Some web hosts maintain broken TLS configurations on their IPv6 addresses while functioning perfectly over standard IPv4.

  1. In macOS System Settings > Wi-Fi > Details > TCP/IP.
  2. Locate Configure IPv6.
  3. Change the setting from Automatically to Link-local only.
  4. Click OK and test loading the secure webpage again in Safari.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.