Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Untrusted Cert Title in macOS: 5 Quick Steps

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you see an “Untrusted Cert” title or warning in macOS, it usually means the system doesn’t recognize a website’s or app’s security certificate. The fix is to manually trust the certificate in the Keychain Access app, or clear the cached one. Here’s the shortest path: open Keychain Access, find the certificate, set it to “Always Trust,” and restart the app or browser. Below is the full step-by-step process, plus what to do if it doesn’t work.

What You'll Need

  • Administrator access to your Mac (you’ll need to enter your password).
  • The exact URL or app name that shows the untrusted cert error.
  • Optional: the certificate file (if you’re importing one manually).

Step-by-Step

  1. Identify the certificate source. When you see the “Untrusted Cert” error, look at the warning message. It usually says which certificate is untrusted and for which domain or app. Note that down – you’ll need to find it in Keychain Access.
  2. Open Keychain Access. Go to Applications > Utilities > Keychain Access. You can also press Cmd+Space and type “Keychain Access” to open it via Spotlight.
  3. Find the certificate. In Keychain Access, use the search box in the top-right corner and type the domain name or the certificate name you noted earlier. Make sure the “login” keychain is selected on the left (it’s the default). If you don’t see it, try the “System” keychain as well.
  4. Open the certificate’s trust settings. Double-click the certificate in the list. A new window will appear with details. Look for a section called Trust – it’s usually near the top. If you don’t see it, click the triangle next to “Trust” to expand it.
  5. Set trust to “Always Trust.” In the Trust section, you’ll see a dropdown menu next to “When using this certificate.” Change it from “Use System Defaults” to Always Trust. If you’re unsure, you can also choose “Secure Sockets Layer (SSL)” and set that to “Always Trust” – but the first option is the most comprehensive.
  6. Enter your password and confirm. Close the certificate window. macOS will ask for your administrator password to save the changes. Enter it and click “Update Settings” or “OK.”
  7. Restart the app or browser. Close and reopen the browser or app that showed the error. If it still doesn’t work, restart your Mac to clear any cached trust state.

Note: The exact menu labels can vary slightly depending on your macOS version and region, but the steps above work for macOS Monterey through Sonoma and later.

Common Mistakes

  • Trusting the wrong certificate. If you have multiple certificates for the same domain, you might trust the wrong one. Double-check the certificate’s “Issued to” and “Issued by” fields.
  • Changing trust in the wrong keychain. If you modify the “System” keychain instead of “login,” you might need extra permissions or it may not apply to your user. Stick with “login” unless you know exactly what you’re doing.
  • Forgetting to restart. The trust change often doesn’t take effect until you fully quit and reopen the app or browser. A simple refresh isn’t enough.
  • Trusting a certificate that’s actually invalid. If the certificate is expired or self-signed, trusting it will work, but it’s not secure. Only trust certificates you’re sure about – for example, from your own company or a known test environment.

Tips

  • Use a dedicated browser profile. If you’re testing a website with a self-signed certificate, use a separate browser profile (e.g., in Chrome or Safari) so you don’t accidentally trust a bad cert in your main profile.
  • Check for intermediate certificates. Sometimes the issue isn’t the certificate itself but a missing intermediate certificate. In Keychain Access, look for the “Issuer” chain – if an intermediate is missing, you’ll need to download and install it from the certificate provider.
  • Export and re-import if needed. If the certificate is corrupted, you can delete it from Keychain Access and re-import it from a fresh copy. Right-click the certificate, select “Delete,” then double-click the new certificate file to add it again.
  • Use the command line for bulk changes. If you’re a developer, you can use the security command in Terminal to set trust settings, but the GUI method is safer for most users.

Troubleshooting

If the error still appears after trusting the certificate:

  1. Clear the browser cache. In Safari, go to Settings > Privacy and click “Manage Website Data,” then remove the site’s data. In Chrome, go to Settings > Privacy and Security > Clear browsing data and select “Cached images and files.”
  2. Reset the network cache. Open Terminal and run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder to flush DNS and network caches. This can help if the system is caching an old trust state.
  3. Check the certificate’s validity. Open the certificate in Keychain Access and look at the “Validity” period. If it’s expired, trusting it won’t help – you need a new certificate from the site owner.
  4. Try a different browser. If the error persists in one browser but not another, the issue is browser-specific. Clear that browser’s SSL state or reset its settings.
  5. Reinstall the certificate. Delete the certificate from Keychain Access (right-click > Delete), then re-import it by double-clicking the certificate file. Make sure to set trust again after re-importing.

If you can’t find the certificate in Keychain Access: The certificate might be stored in the “System” keychain. Unlock it by clicking the lock icon at the top-left, then search again. If it’s still missing, the certificate might be embedded in the app itself – in that case, you’ll need to contact the app developer.

Frequently Asked Questions

Why does macOS show “Untrusted Cert” for a website I trust?

macOS shows this when the certificate isn’t issued by a recognized certificate authority (CA), or when the certificate chain is incomplete. It doesn’t necessarily mean the site is malicious – it could be a self-signed certificate used for testing or internal tools.

Is it safe to trust an untrusted certificate?

Only if you know exactly what you’re doing. Trusting a certificate bypasses security warnings, so if the site is actually malicious, you’re exposing your data. Only trust certificates from sources you control or explicitly know are safe.

How do I remove a trust setting I added by mistake?

Go back to Keychain Access, find the certificate, open it, and change the trust setting back to “Use System Defaults.” Then close the window and enter your password to save.

Will this fix the error in all apps?

Trusting a certificate in Keychain Access affects all apps that use the system trust store, including Safari, Mail, and most third-party apps. However, some apps (like Firefox) use their own certificate store – you’ll need to trust the certificate separately in those apps.

What if the certificate is expired?

Trusting an expired certificate will still show a warning in some apps, because expiry is a separate check. The only real fix is to get a new certificate from the site owner. Trusting an expired cert is not recommended.

Can I trust a certificate from the command line?

Yes, you can use the security add-trusted-cert command in Terminal, but it’s more complex and error-prone. The GUI method is safer for most users. If you’re comfortable with Terminal, search for “security add-trusted-cert” in Apple’s documentation.