Oracle Database / Accounts, Security & Access
ORA-28365: check the keystore in the intended container
Encrypted data may be inaccessible when the required keystore is closed or unavailable. Confirm which database and container require the key.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT con_id, wrl_type, status, wallet_type FROM v$encryption_wallet;
What the results mean
Status describes the visible keystore state, which can differ by container and configuration. It does not establish that the required historical key is present.
Fix the cause and check again
Have the authorized key administrator restore access through the documented keystore process. Validate encrypted object access and recovery-key backups afterward.
Before you make a change
Do not copy wallets from another database or place keystore passwords in SQL scripts and tickets.