Creating a new Institutional Recovery Key: The keychain file /Library/Keychains/ already exists

mhegge
Contributor III

sudo security create-filevaultmaster-keychain /Library/Keychains/
FileVaultMaster.keychain

After going through and creating the new password, I get this:

The keychain file /Library/Keychains/ already exists

I cannot locate what the system says exists.

1 REPLY 1

Sichas
Contributor

Oh, so if you copy/paste what's in the Knowledge Base article into Terminal, it puts FileVaultMaster.keychain on a second line, so the command that is actually being run is:

sudo security create-filevaultmaster-keychain /Library/Keychains/

Which of course, does indeed already exist.

I'd recommend typing that one in manually so that it correctly reads:

sudo security create-filevaultmaster-keychain /Library/Keychains/FileVaultMaster.keychain

Just mind your slashes and hyphens :)