# wallet.txt

# The mkstore command will prompt for our wallet password.

mkstore -wrl $ORACLE_BASE/admin/$ORACLE_SID/wallet -list

# This succeeds, but may give the error
# ORA-28378: Wallet not open after setting the Master Key
echo 'ALTER SYSTEM SET ENCRYPTION KEY
      IDENTIFIED BY "its4security";' | sqlplus / as sysdba

echo 'ALTER SYSTEM SET WALLET OPEN
      IDENTIFIED BY "its4security";' | sqlplus / as sysdba

mkstore -wrl $ORACLE_BASE/admin/$ORACLE_SID/wallet -list

