keychain not working, resetting does not help

Macbook Air 2012 running 10.9.5.


When i connect to my wifi, the sytem asks me for the wifi password which i type in (it works and i get connected). When i click join, a message pops up with a title of "Keychain Not Found" and a message: A keychain cannot be found to store "<wifi name>." There are to options: Cancel and Restore To Defaults When i choose Restore to Defaults it asks "Are you sure you want to reset your keychain? This will delete all your saved passwords, keys, and certificates. You cannot undo this operation." There's Cancel and Reset, so i choose Reset. Then another screen pops up:


User uploaded file


The problem is, any typing goes to the wifi network password field, even if i click the keychain popup or its field first! However, i can make the wifi screen go away by clicking cancel:


User uploaded file


and leaving only the keychain window. Clicking on the keychain window/field gives it focus, but typing adds no characters and just beeps. Clicking OK or Cancel makes the screen go away.


Here's the keychain window:


User uploaded file


And here's ~/Library/Keychains:


User uploaded file


I've deleted the keychain, renamed it, backed it up, unlock and relocked, first aid verify/repair (finds nothing wrong), Add Keychain..., rebooted. Nothing seems to work. I do not know what to do.


It does not look like iCloud is setup either:


User uploaded file


Wiping the keychain completely is okay, it is empty. I just want to make it work so its stops showing the error message and have Safari not show me errors about secure sites. What can i do to make this work?

Mac mini, OS X Mavericks (10.9), null

Posted on Dec 1, 2018 5:28 PM

Reply

Similar questions

4 replies

Dec 2, 2018 4:24 PM in response to Eric Root

Thank you for taking a look.


>Repair Keychain in El Capitan or Sierra


I did that. This was different because step 6 was to add a new keychain instead of Add keychain. Did that, created a new password (the login password wasn't strong enough) and rebooted. After logging in it asked for the keychain password, so i changed the password there back to the user password. Anyway, after logging in, testing via wifi again came with the same error. So, i added one of the old keychains again and rebooted, no help there either. 😟


>Keychain Access in El Capitan

String does not seem to exist.

>Tutorial: Resolving Keychain Issues


Verified all four checkbox were ticked. Did the repair (in the past, both verify and repair said all was good). It apparently had what to do!


User uploaded file


Rebooted. Messages asks for password access. That works.


User uploaded file


Wifi produces same error. I checked, and as suspected, i have two login keychains. Deleted both with references and files. Then i went into backup (all files in the keychain folder were from tries to fix this), copied login-old.keychain to ~/Library/Keychains (that's one directory up from where it was in backup) renamed it to login.keychain, added it via File->Add keychain, unlocked it, verified all four options were checked for first aid (just as they were before, but why not double check), clicked repair, no problems found.



User uploaded file

Rebooted, messages did not popup this time asking for access, tested wifi, same error. 😟


>The second option is to completely delete your keychain then recreate it.

Deleted login keychain with references and files, added keychain, this time when it complained about the weak password, i just clicked ok again and it went through on the second try. Make Keychain "login" Default is greyed out.

User uploaded file

Rebooted, wifi produces the same error.

>Login as root and perform repair

Enabled root user. logged out, logged in as root, chose "Don't sign in" and Skip, went through Setting up your mac screen. Keychain access, made sure all four options were ticked, Repair, no problems found:

User uploaded file

Deleted the keychain with references and files. Went to library keychain, there was no login.keychain, just the directory:

User uploaded file

File->New Keychain, named it login, which now appears in the directory:

User uploaded file

Verified the keychain and repaired it, just because:

User uploaded fileUser uploaded file

tried wifi, same error. rebooted, logged in as root, same error. Disabled root user, logged back in as user. Same error.

----

So, this error happens as root, so its not just a problem with this user's file. Further, it is a weird error that the keychain cannot be found and the reset screen does not allow any input.

I decided to try something myself. I deleted the login keychain with references and files, and tried wifi again (maybe it is trying to create a login keychain when one is already there, hence the error?) no such luck. So, i copied the backup again as before and unlocked it.

Any more ideas? Something seems really messed up here.

Dec 3, 2018 3:44 PM in response to Eric Root

Also tried: https://support.apple.com/en-us/HT203538 to no avail. 😟


Here's someone with the same issue. Bottom reply did not work for me, and now i have two keychains named system. :/ Though, i do not know where the file for the first one is.


Some more bumbling and jumbling trying the same solutions with systemkeychain, i added -v (verbose) and got the message: "warning this keychain cannot be unlocked with any passphrase" which comes from the source code right after it says "// generate a random key". Makes sense. It generated a key for me and laughed. But, there does not seem to be an option for adding a passphrase according to the man page. So, i added the -s and -t options (making the entire command: sudo systemkeychain -C -f -s -t -v) to which it responds that system unlock is not working.


I tried other things too. The same error still shows up, but i can hit ok to the reset to defaults dialog and opera and safari run without error now. So, it's not perfect, but odd.

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.

keychain not working, resetting does not help

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