Oracle Error ORA-28397: cannot online file string since it has a passphrase-wrapped key

Oracle Error Message

ORA-28397: cannot online file string since it has a passphrase-wrapped key

Reason for the Error

The encrypted tablespace file was rewrapped using passphrase through the DBMS_TTS.PASSPHRASE_REWRAP_KEY procedure. Therefore it cannot be part of the database until it is converted by RMAN.

Solution

Do not attempt to online files with passphrase-wrapped keys.