After upgrade to MacOS Mojave, I cannot login or connect to App Store.

I am using the latest MacBook Pro 2018 version. After upgrade to MacOS Mojave, I cannot sign out, login App Store or View my account. It always show "Cannot Connect to App Store". I also upgrade my iMac to MacOS Mojave, my iMac does not have this issue.


How can I fix this issue on my 2018 MacBook Pro?


Thank you

MacBook Pro TouchBar and Touch ID, iOS 12

Posted on Sep 24, 2018 7:50 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 2, 2018 7:04 AM

I found a solution that worked for me. It took me two steps, and all credit to BocaBoy in this thread: Re: Mojave installation fails: duplicate App Stores, can't sign in with Apple ID (Macbook Pro, Late 2016)


  1. Disable System Integrity Protection:
    1. Reboot the computer into restore mode (press command-R during startup)
    2. Select Terminal from the Utilities... menu
    3. Enter csrutil disable and press return
    4. Restart
  2. Back up and archive the folder in /Library/Security/Trust Settings before deleting them through Terminal. I'll copy BocaBoy's instructions here for you all:


OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You must know how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:


cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.

3. Reenable System Integrity Protection by repeating step 1 but using the command csrutil enable.


After I modified the Trust Settings directory, I was able to reboot and connect to the App Store and Books Store.


Good luck, everyone!

379 replies
Question marked as Top-ranking reply

Oct 2, 2018 7:04 AM in response to cmeid

I found a solution that worked for me. It took me two steps, and all credit to BocaBoy in this thread: Re: Mojave installation fails: duplicate App Stores, can't sign in with Apple ID (Macbook Pro, Late 2016)


  1. Disable System Integrity Protection:
    1. Reboot the computer into restore mode (press command-R during startup)
    2. Select Terminal from the Utilities... menu
    3. Enter csrutil disable and press return
    4. Restart
  2. Back up and archive the folder in /Library/Security/Trust Settings before deleting them through Terminal. I'll copy BocaBoy's instructions here for you all:


OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You must know how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:


cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.

3. Reenable System Integrity Protection by repeating step 1 but using the command csrutil enable.


After I modified the Trust Settings directory, I was able to reboot and connect to the App Store and Books Store.


Good luck, everyone!

Oct 11, 2018 12:52 AM in response to brianyen0

I had same issue of not being able to sign in to app store. After trying everything that was written in previous posts, this worked for me:


a) Open KeyChain Access

b) Click on System Roots

c) Double click on "DigiCert High Assurance EV root CA"

d) Expand "Trust"

e) Change "When using this certificate" from Use System Defaults to "Never Trust"

f) Restart the computer

g) Do steps a to e again but change "Never Trust" to Use System Defaults


After this, I was able to login to App Store and download apps etc.

Sep 28, 2018 3:29 PM in response to parrori1

OK. Deep inspection on the firewall means that you break ssl. Like man in the middle. Technically you terminate ssl on the firewall take the certificate and resign with the CA certificate from the firewall. Means on the Mac you still have the certificate coming from Apple but signed by your firewall. App store is checking who was signing the certificate. If not by the right CA it will stop working.

I just switched of deep inspection on the firewall for IPv4 and IPv6 and app store started to work like a charm.


So if you have a firewall doing ssl interception you have to switch it off. If you have IPv6, then you have to switch it off there as well.

Sep 29, 2018 10:42 AM in response to testingtestingtesting

Hey guys,

been reading through this thread, and wanted to post that I had an issue with the App store in Mojave, that I was able to fix. Since this has not been posted in this thread yet, I will provide the steps to correct my issue in case it's something that simple that will help someone else.


My issue was: unable to see, or install updates in the Mac app store after Mojave upgrade.

Cause: Damaged / outdated caches / user settings (plists)

Solution: Use an uninstaller app such as AppDelete, iTrash, or AppCleaner.

Drag the App Store icon from applications to said app (a good option put an alias to the uninstall app on the desktop.)

When the list of associated files pops up, uncheck the App store icon itself, and uncheck the AppStore folder in /Library/Application Support.

Delete, everything else and reboot the mac.


In My case, I was always able to sign in, but updates didn't work. After these steps I signed back ink and everything came back to life. It's been working fine since. I understand there are numerous issues going on here, but no one here mentioned doing this yet, so I thought I would.


Hope it helps someone else! have a great day!

Oct 2, 2018 7:31 AM in response to brianyen0

OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You mustknow how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:

cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.


Let me know how it goes.

Oct 8, 2018 1:03 PM in response to testingtestingtesting

Hey Testing,


I had exactly the same problem with App Store showing only Updates. A bit exhaustive searching and I found a solution to the problem.


This problem is most likely caused by another copy of App Store.app somewhere on your filesystem. If this is your problem it is easy to fix, the problem is locating the other copy of App Store.


You can do this by starting System Information by clicking on the 'Apple' Menu Icon, then About This Mac. Once System Information starts, click on the System Report... button. In the left hand side pane, select Software and then Applications. Give the report a bit of time to generate (1-5 minutes). Once it appears in the right hand pane scroll through the application list until you find App Store.


On my system I had three copies, the current version from Mojave, and two others from CarbonCopy SafetyNet Backups. You can find the location of each by first clicking on the application, and then looking at the Location in the pane just below the Application List pane. For example I had a copy of App Store located in:


/_CCC\ SafetyNet/2016-09-08\ \(September\ 08\)\ 15-00-23/

/_CCC\ SafetyNet/2016-09-08\/2016-09-08\ \(September\ 08\)\ 15-20-44/


As these were rather old backups of the App Store.app, I simply deleted both of these directories. Once I freed myself of these old backups the App Store worked perfectly. I don't believe a reboot is necessary, but I did one none the less.


For information on why this happens and more explanation see the following very helpful posts:


mac appstore - Mojave App Store is only showing Updates tab - Ask Different

mac appstore - Mac App Store not working on macOS Mojave 10.14 Beta 1 (18A293u) - Ask Different


Tried to talk with AppleCare support and was told to wipe my hard drive and reinstall MacOS (um, no thank you), or not to make changes as the advise might damage your operating system (from a filesystem backup copy???). Whatever.


Eventually AppleCare may figure this out, as with all advise given in forums, please proceed with caution.


Regards,


Bill Gertz

Nov 4, 2018 5:36 PM in response to brianyen0

I managed to fix this on my mac while waiting to be transferred to senior support. App store, Itunes, Safari, none of the apple apps were working on my mac running Mojave. However, Firefox still worked. I installed Chrome just to see if it also worked, and it didn't connect...BUT it's error page suggested I check Proxies in Advanced Network Settings, and uncheck any that were checked. The SOCKS proxy was checked, so I unchecked it, hit Apply and everything started working again! I have no idea why this worked, but it did. Good luck.

Dec 28, 2018 12:12 AM in response to Exxplora2

I just upgraded from High Sierra to Mojave yesterday, and promptly encountered the Could not Check for Updates (I was on 10.14, I know there is a 10.14.2 waiting), and Could not Connect to App Store problem. It was strange as all my other applications, browsers, etc. were able to access and download stuff from the Internet properly.


I tried deleting the Security Trust Settings, and Disabling and Reenabling DigiCert CA Trust in Keychain Access, to no avail, even after rebooting. I was contemplating reinstalling from scratch when I read other posts that doing a restore won't help matters.


I even tried updating manually by downloading the 10.14.2 Combo Updater from Apple directly, but the problem persisted.


The mention of Firewall issues triggered an idea for me. I'm normally connected to the network via Ethernet. I don't have any proxies enabled in macOS, but I do have ClamXAV, Docker and VMWare Fusion (these create virtual bridged interfaces in the system) installed. As far as I know there are no firewall rules enabled that would cause problems.


On a whim I tried disconnecting the Ethernet cable and enabling WiFi, and lo and behold, the App Store and the Software Update Panels worked. After disabling Wifi and reconnecting via Ethernet, it seems to be working now.


Somehow the Software Updater and App Store uses a different mechanism to connect to the Internet, and it was stuck in some unknown state that persisted even with rebooting. Presumably switching the default interface for access to the network somehow reset the configuration.


Feb 7, 2019 12:45 PM in response to brianyen0

I experienced this problem after a fresh install of Mojave on a MBP (15"/2016).

After running through a lot of troubleshooting tips from this thread nothing helped.

My solution was to log out of iCloud in system preferences, reboot and then log in to iCloud again.

Beforehand (during the fresh install of Mojave) I deactivated iCloud Drive, Stocks app and some other stuff I don't need in the iCloud system preferences. I think this was what caused the problem.

Mar 10, 2019 5:35 PM in response to Brodering

This solution worked for me too.


I signed out of iCloud in System Preferences. Kept all the copies in the system when prompted.

Restarted the system and signed in back again in iCloud in System Preferences

I was already signed in to the Mac App Store as it used to be before I was having this issues. However I found the installed apps were not recognised as installed.

Once system was restarted again the App Store correctly recognised the installed apps.

Feb 9, 2019 4:00 PM in response to brianyen0

My problem was a corrupt Accounts4.sqlite file in ~/Library/Accounts. The following steps fixed the issue for me:

  1. Go to Finder
  2. From the menu, click Go -> Go to Folder...
  3. Type: ~/Library/Accounts
  4. Create a backup folder: Control-Mouse click -> New Folder, name the folder backup
  5. Move all Accounts4 files to the backup folder
  6. Log out and then log back in
  7. Open App Store

Sep 28, 2018 2:53 PM in response to smoledman

I had the same issue. After digging around and trying everything I found in the forums nothing helped. Even opening my firewall and disabling deep inspection was not successful.

Finally it came to my mind the apple could use IPv6. Bingo. Forgot I had deep inspection switched on on IPv6 rule as well.

APPLE doesn't like ssl interception with resigning the certificate. They double check the signing authority of their certificate. With ssl interception the root CA changes of course. Next step is to bypass ssl interception for apple sites only to keep security scanning for other sites.

Oct 3, 2018 12:59 PM in response to testingtestingtesting

Here is the fix, that was posted in the forums. I just hope it is permanent. I can't take credit for this another member posted it.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:

cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

After upgrade to MacOS Mojave, I cannot login or connect to App Store.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.