Keychain Errors
If browsers displays a Keychain error, your Mac's login keychain may be missing or not configured correctly. Follow the steps below to create a new login keychain and set it as your default keychain.
-
Open Terminal
Section titled “Open Terminal”Top right, click the magnifying glass and search Terminal
-
Enter Mac Password
Section titled “Enter Mac Password”In the commands below, replace:
{password}with the password you use to log into your Mac.
For example, if your Mac password were
ExamplePassword123, you would replace{password}withExamplePassword123. -
Run the Keychain Fix
Section titled “Run the Keychain Fix”Copy the commands below into Terminal after replacing both
{password}entries with your Mac password:security create-keychain -p "{password}" ~/Library/Keychains/login.keychain-dbsecurity default-keychain -s ~/Library/Keychains/login.keychain-dbsecurity list-keychains -d user -s ~/Library/Keychains/login.keychain-dbsecurity unlock-keychain -p "{password}" ~/Library/Keychains/login.keychain-dbsecurity set-keychain-settings ~/Library/Keychains/login.keychain-db
Example: If your password were ExamplePassword123!, the commands would look like:
security create-keychain -p "ExamplePassword123!" ~/Library/Keychains/login.keychain-dbsecurity default-keychain -s ~/Library/Keychains/login.keychain-dbsecurity list-keychains -d user -s ~/Library/Keychains/login.keychain-dbsecurity unlock-keychain -p "ExamplePassword123!" ~/Library/Keychains/login.keychain-dbsecurity set-keychain-settings ~/Library/Keychains/login.keychain-db