![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 2032427.1 : Oracle Key Manager (OKM) - ZFS Encrypted Filesystem Will Not Mount Without Prompting For Passphrase After Being Imported on Second Node
In this Document
Created from <SR 3-11037769201> Applies to:Solaris Operating System - Version 11.1 and laterOracle Key Manager - Version 2.4.1 and later Information in this document applies to any platform. GoalIn an Oracle Key Manager and encrypted ZFS filesystem configuration, a filesystem will not be automatically mounted after exporting and importing onto another node. Also, when attempting to manually mount the zfs filesystem on the second node, it will prompt for the passphrase. SolutionThis is expected behavior and how ZFS was designed to work with PKCS#11. The man page for zfs_encrypt describes some use cases for saving the PIN in a file and specifies that for PKCS#11, you specify a URI. On S12, there is a pinfile attribute described in the man page for pkcs11_parse_uri. This is not documented on S11, however, it has been verified that it is in the source code and works. # echo "OKM agent PIN" > /root/okmpin (save the agent PIN. This file must be in clear text)
# chmod 400 /root/okmpin You may need to modify the permissions on the file depending on how you are importing and exporting the zfs pool. # zfs set keysource="raw,pkcs11:token=KMS;object=zfscrypto_key_256;pinfile=/root/okmpin" zpool_test/encryption_test
Attachments This solution has no attachment |
||||||||||||||
|