While configuring TDE and try to open with keystore command getting following error.
Error: ORA-28367: wallet does not exist
SQL> ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY password;
ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY password
*
ERROR at line 1:
ORA-28367: wallet does not exist
Solution:
Check the following view where the Oracle is finding the keys:
SQL> select wrl_parameter from v$encryption_wallet
;
WRL_PARAMETER
--------------------------------------------------------------------------------
E:\ORACLE\WALLETS\ORCL\tde\
Use this path while creating the encryption keys:
SQL> ADMINISTER KEY MANAGEMENT CREATE KEYSTORE 'E:\ORACLE\wallets\orcl\tde' IDENTIFIED BY password;
keystore altered.
Open the keystore:
SQL> ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY password container=all;
keystore altered.