Create a new login or reset Keychain for Mac OS X
Solution
There are a number of solutions for the "browser failed to generate a key" error in Safari when trying to obtain an MIT personal certificate. See: "Browser Failed to Generate a Private Key" - trying to obtain certificates in Safari.
If those measures fail, try the following:
- Create a new Keychain
- Set it as default
- Delete the old one
Alternative solution: Resetting the keychain
To reset your keychain in Mac OS X 10.4, Mac OS X 10.5, and Mac OS X 10.6 Snow Leopard or later:
- Open Keychain Access, which is in the Utilities folder within the Applications folder.
- From the Keychain Access menu, choose Preferences.
- Click General, then click Reset My Default Keychain.
- Authenticate with your account login password.
- Quit Keychain Access.
- Restart your computer.
To reset your keychain in Mac OS X 10.3 through 10.3.9:
- Open Keychain Access, which is in the Utilities folder within the Applications folder.
- From the Window menu, choose Keychain First Aid.
- Click Options...
- Click Reset My Keychain, which is under the General pane.
- Authenticate with your account login password.
- Quit Keychain Access.
- Restart your computer.