Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

OCI-28353

Failed to open wallet.

Cause

The database is unable to open the security module wallet due to an incorrect wallet path or password. It is also possible that a wallet has not been created. Ensure that the TDE_CONFIGURATION is set to "OKV|FILE" if an external keystore (OKV/KMS) is being used.

If the database is configured to use external keystore (OKV/KMS) as the TDE keystore, the database may be having difficulty finding the external configuration file of the keystore.


Action

Execute the command again using the correct wallet password or verify that a wallet exists in the specified directory. If necessary, create a new wallet and initialize it.

When using external keystore (OKV/KMS), check if the configuration file is in the right directory. When the instance initialization parameter WALLET_ROOT is configured, the Oracle Key Vault configuration file should be located at one of the following paths:

$WALLET_ROOT/okv/conf (for CDB$ROOT and united PDBs) $WALLET_ROOT/PDB-GUID/okv/conf (for an isolated PDB)

The pluggable database (PDB) GUID can be obtained by querying GUID from the DBA_PDBS view.

Also in the case of an external keystore, refer to the documentation for information on endpoint enrollment and provisioning.