How to Fix ‘This Connection Is Not Private’ Error in Safari on Mac

When browsing websites in Apple Safari on macOS, encountering the bold warning screen stating “This Connection Is Not Private” halts your web access immediately. The warning cautions that the website may be impersonating another server to steal personal or financial information, and Safari restricts access to protect your security.

While this warning legitimately flags expired or untrusted SSL/TLS certificates on broken websites, it frequently appears on legitimate domains due to local system clock skews, corrupted certificate trust caches in macOS Keychain, or conflicts with private DNS and antivirus filtering. This guide details how to diagnose the certificate error and resolve Safari’s security warning safely.

Method 1: Correct System Date and Time Settings

Every digital SSL certificate has strict validity timestamps (“Valid From” and “Valid To”). If your Mac clock differs from true network time by even a few minutes, Safari will consider valid modern certificates invalid or expired.

  1. Click the Apple menu in the top-left corner and select System Settings.
  2. In the left sidebar, click General, then select Date & Time.
  3. Ensure the toggle for Set time and date automatically is turned on.
  4. If the switch is already on but the displayed time is incorrect, toggle it off, wait 5 seconds, and turn it back on.
  5. Confirm that the Source is set to time.apple.com.
  6. Verify that your Time Zone matches your physical location, then restart Safari and test the web page again.

Method 2: Delete Corrupted Website Data and Safari Cache

Safari caches intermediate certificate authority (CA) chains and HSTS (HTTP Strict Transport Security) records. Stale cached security headers will trigger private connection errors even after a website owner has renewed their security certificate.

  1. With Safari open, click Safari in the top menu bar and select Settings (or Preferences).
  2. Navigate to the Privacy tab.
  3. Click the Manage Website Data… button.
  4. In the search box at the top right, enter the domain name of the affected website.
  5. Select the website from the filtered list and click Remove, or click Remove All to clear all cached website credentials.
  6. Click Done.
  7. Press Command + Option + E to flush Safari’s underlying browser cache, then reload the page.

Method 3: Check and Remove Untrusted Certificates in Keychain Access

Sometimes, an expired intermediate certificate or an enterprise certificate with an invalid trust flag is stored within macOS Keychain Access, overriding valid root certificates.

  1. Press Command + Space to open Spotlight, type Keychain Access, and press Enter.
  2. In the left sidebar under Default Keychains, click login, then select the Certificates category.
  3. Scan the list for any certificates marked with a red X icon (indicating an untrusted or expired state).
  4. If you find an expired certificate belonging to the specific domain you are attempting to visit, right-click it and select Delete.
  5. Next, check the System keychain in the sidebar under System Keychains. If any duplicate or untrusted root certificates exist, remove them (macOS administrator authentication required).
  6. Close Keychain Access and reboot your Mac.

Method 4: Temporarily Bypass for Known Trusted Local Networks

If you are accessing a local router administration portal, network-attached storage (NAS) device, or internal development server with a self-signed certificate, you can safely proceed through Safari’s warning.

  1. On the “This Connection Is Not Private” warning page, click the Show Details button at the bottom.
  2. Read the technical explanation to verify the domain name matches your intended destination.
  3. Click the link near the bottom that reads: visit this website.
  4. A confirmation prompt will appear asking: “Are you sure you want to visit [site]?”.
  5. Click Visit Website. You may be prompted to enter your Mac password or use Touch ID to add a temporary trust exception into your local keychain.

Safari Certificate Warning Diagnosis Table

The table below provides a quick reference for understanding Safari’s specific security warnings:

Certificate Detail Meaning Action Required
“Certificate has expired” Site owner did not renew SSL or Mac clock is wrong Check Mac Date & Time; notify site administrator
“Certificate is not valid for this name” Domain mismatch (e.g. cert issued for www, accessed bare) Check exact URL spelling and prefix
“Signed by untrusted issuer” Self-signed certificate or missing root CA Accept exception only for internal routers / dev servers
“Revoked certificate” Cryptographic keys compromised or cancelled Do not proceed; site security is compromised

Maintaining Secure Browsing in Safari

Never bypass Safari’s security warnings on public banking, e-commerce, or login portals that handle sensitive passwords. Keeping macOS updated via Software Update guarantees that your system maintains Apple’s latest trusted Root Certificate Authority repository, preventing legitimate websites from triggering false certificate warnings.

Get the best tech tips delivered straight to your inbox.

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