Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Failed Software Update - Refusing invalid certificate from host: swscan.apple.com

I have a Mac mini 2018 running 10.14.5 (Mojave). I have issues with "software update" and App Store logging in. On my MacBook Air no problems.


In the log of /var/log/install.log I see there is an error :

"Failed Software Update - Refusing invalid certificate from host: swscan.apple.com"


If I do a lookup of swscan.apple.com on my MacBook Air and Mac mini. They resolved to the same ip address. So, no network issue. So there is something wrong on my Mac mini with the apple certificate.


What I already tried:

  • check disk through disk utility
  • sign out/sign in icloud
  • removed in folder ~/Library/Preferences/ the App Store config files
  • removed in folder ‘/Library/Security/Trust Settings' the files
  • dis-trust and restrust the "Digicert High Assurance EV root CA” in keychain access
  • removed the files under /var/db/crls/*


Any idea what I can do more to solve this issue ?

5 replies

I found the solution ! :) I compared all the keys in the keychain access with my MacBook Air. Under "System", I saw an extra digicert certificate. So I deleted the digicert certificate under system (not system roots), and the problem was solved.



Have you checked to make sure your Mac Mini's system date, and time is correct? That's usually the issue with certificate errors.


If your date/time is set properly try changing your time zone setting (either turning off automatic if it's on automatic time zone, or turning on automatic if it's set manually).

There are two more things you can try:



This will update your macOS by re-applying all updates from the original Mojave release at once, and may fix your App Store into again working properly so you can download and update whatever other apps.

Time/date is correct and was set automatically. I changed it to manual, but no difference. Still issue with certificate.

Great job! Thanks for letting me know.