stephanandre

Q: AppStore error (NSURLErrorDomain error -1012.)

Since a while, App Store only shows updates of applications, but no OS updates or system patches. When "Updates" is pressed, a popup shows AppStore error (NSURLErrorDomain error -1012.).

MacBook Pro, OS X Yosemite (10.10.1)

Posted on Mar 10, 2015 11:58 AM

Close

Q: AppStore error (NSURLErrorDomain error -1012.)

  • All replies
  • Helpful answers

  • by stephanandre,Solvedanswer

    stephanandre stephanandre Mar 10, 2015 12:12 PM in response to stephanandre
    Level 1 (0 points)
    Mar 10, 2015 12:12 PM in response to stephanandre

    ROOT CAUSE (in my case):

     

    The System Root Certificate that issued Apple´s server certificates for https://swcheck.apple.com and others, named "VeriSign Class 3 Public Primary Certification Authority - G5", was manually set to "Always trust", by myself I guess

     

    SOLUTION:

     

    Set the trust level of "VeriSign Class 3 Public Primary Certification Authority - G5" back to "System Standards".

     

    HOW TO REPEAT:

     

    1. Open Keychain Tool, select "System Roots" and "Certificates".
    2. Search for "VeriSign Class 3 Public Primary Certification Authority - G5".
    3. Check if its icon is OK, i.e. not a blue plus or a red cross, but as all others.
    4. If not, you have my root cause, so double click it and change trust level to "System Standard".

     

    You may be prompted for admin credentials, make sure you know what you´re doing. (Lessons learned.)

  • by gamcall64,

    gamcall64 gamcall64 Nov 4, 2015 6:26 PM in response to stephanandre
    Level 1 (8 points)
    Mac OS X
    Nov 4, 2015 6:26 PM in response to stephanandre

    Hi - I tried your solution, but I was unable to change that certificate's trust settings. It always reverted to "Custom" (with the blue cross), so, maybe, you didn't make that setting for that certificate. How did you get your change to "stick"?

  • by gamcall64,

    gamcall64 gamcall64 Nov 4, 2015 7:19 PM in response to stephanandre
    Level 1 (8 points)
    Mac OS X
    Nov 4, 2015 7:19 PM in response to stephanandre

    Hi again,

     

    I managed to work out how to make the change "stick" - I had to unlock the System Keychain - and it worked! Thanks very much for your solution.

     

    GAM

  • by avacop,

    avacop avacop Nov 9, 2015 5:29 AM in response to stephanandre
    Level 1 (5 points)
    Nov 9, 2015 5:29 AM in response to stephanandre

    This helped my issue..thanks

  • by Phil Geller,

    Phil Geller Phil Geller Jul 29, 2016 2:56 PM in response to stephanandre
    Level 1 (13 points)
    Jul 29, 2016 2:56 PM in response to stephanandre

    This information was critical in helping me fix my problem.  Thank you!! 

     

    I do want to add one more bit of information.  I couldn't get the keychain changes to "stick" as someone else notice, even with the lock open.  There is an Apple article that adds a few more steps that were necessary in my case:

     

    OS X: "Cannot connect" or "Cannot connect to the App Store. An internet connection is required" - Apple Support

     

    Steps 7-8 under Edit Your Keychain tell you to first "Change Secure Sockets Layer (SSL): to ‘No Value Specified’ then close the window."  In my case that was necessary to awaken the save function for that certificate.  Then I could change the trust level to "System Defaults".