macOS – How to Restore OS X Keychain

keychainmacos

I have reset my OS X Lion Keychain by mistake. Is there any way to restore the Keychain content from Trash?

I'm asking this because I do find a Keychain Access icon in the Trash Bin. It would be a big help since the reset seems to have wiped out all the certificates.

Best Answer

The Library folder where your keychains are stored is hidden by default.

First, quit Keychain Access.app.

Open Finder and press Shift Cmd G, then enter ~/Library/Keychains. Here, rename the existing default file, and drag your original file back from the Trash.

Restart Keychain Access and you should see your old one restored.

Related Question