2
I want to delete Keychain stored in System.keychain
folder on Mac. I tried the following,
security delete-keychain Keychain_name
but got the following error:
The specified keychain could not be found
How can I remove the keychain? When it didn't work I tried giving the path where the keychain is stored
security delete-keychain Keychain_name /Library/Keychains/System.keychain
But even then I am getting the same error message.
I want to delete it as I'm developing applications, some of the information is stored as such. If i try to delete a single item it gives the above error.
However, When I used the following command
sudo security delete-keychain /Library/Keychains/System.keychain
it deleted the entire System.keychain.
Where am I going wrong in deleting single item from system.keychain?
Try it just by specifying system.keychsin, not the full path. And your question asks about deleting the entire keychain, not a single item, therefore the question. – Daniel Beck – 2012-02-01T08:23:05.660