Creating and Exporting an Institutional Recovery Key with the Private Key

Jamf Pro Documentation 11.16.0

Solution
Application
Content Type
Technical Documentation
Utilities & Services
version
11.16.0
ft:locale
en-US
vrm_version
11.16.0

Requirements

You need an administrator computer with macOS 10.11 or later to create and export an institutional recovery key.

  1. On an administrator computer, open Terminal and execute the following command:

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

  2. When prompted, enter a password for the new keychain.
  3. To unlock the keychain, open Terminal and execute the following command:

    security unlock-keychain /Library/Keychains/FileVaultMaster.keychain

  4. Perform a backup of the keychain and save it in a secure location.
  5. Open Keychain Access.
  6. From the menu bar, choose Add Keychain from the File pop-up menu, and then add the FileVaultMaster.keychain file located in /Library/Keychains/.
  7. Select FileVaultMaster under the Keychains heading in the sidebar, and then select All Items under the Category heading.
  8. Verify that a private key is associated with the certificate.

    A macOS Keychain Access window with "FileVault Master Password Key" highlighted

  9. Select the certificate and the private key.
  10. From the menu bar, choose Export Items from the File pop-up menu. Then save the items as a .p12 file.

    The .p12 file is a bundle that contains both the Recovery Key and the private key.

  11. Create and verify a password to secure the file, and then click OK.

    You will be prompted to enter this password when uploading the recovery key to Jamf Pro.

  12. Quit Keychain Access.
  13. Store the keychain (FileVaultMaster.keychain) in a secure location so you can use it to access encrypted data at a later time.

    Without the keychain, you will not be able to decrypt the computer.

The Recovery Key and the private key are saved as a .p12 file in the location you specified.