![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2206105.1 : Oracle Key Manager (OKM) - PKCS11 Error Code: 104
In this Document
Created from <SR 3-13258209591> Applies to:Oracle Key Manager - Version 2.4 to 3.1 [Release 2.0 to 3.0]Information in this document applies to any platform. SymptomsError trying to create Oracle Database Table with encryption HSM heartbeat died. Likely the connection has been lost. PKCS11 function C_EncryptInit returned PKCS11 error code: 104 HSM connection lost, closing wallet When trying to create Oracle Database Table using OKM, TDE and PKCS11 ChangesNone CauseOKM Encryption cryptoperiod key expired SolutionOption 1) Re-Key TDE master key From the Oracle Database System run following command using SQL*Plus command line interface SQL>ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY "password"
Option 2) Set the following environment variable, so no re-key is needed Set the following environment variable for the user associated with the pkcs11_kms token (typically the Oracle user's profile): # export PKCS11_KMS_ALLOW_ENCRYPT_WITH_DEACTIVATED_KEYS=1 Restart the database.
References<BUG:24580934> - HSM HEARTBEAT DIED PKCS ERROR CODE 104 ON ORACLE KEY MANAGER<NOTE:394539.1> - ORA-28353 - Cannot Set The Encryption Key Password for TDE Attachments This solution has no attachment |
||||||||||||||||||||
|