How to Configure Auto Login Wallet in Oracle 12c
Step1> Check the Wallet's Current Status
As you can see I have already password wallet in place. I will configure this password wallet to Auto_Login Wallet.
To Configure Wallet from scratch check out my post How to configure TDE Using Wallet in pluggable database in 12c
SQL> set linesize 200
col WALLET_DIR for a32
col status for a21
select STATUS,WRL_PARAMETER WALLET_DIR,WALLET_TYPE from V$ENCRYPTION_WALLET;
STATUS WALLET_DIR WALLET_TYPE
--------------------- -------------------------------- ------------------------------------------------------------
OPEN +DATAC4/CDB001/wallet/ PASSWORD
col WALLET_DIR for a32
col status for a21
select STATUS,WRL_PARAMETER WALLET_DIR,WALLET_TYPE from V$ENCRYPTION_WALLET;
STATUS WALLET_DIR WALLET_TYPE
--------------------- -------------------------------- ------------------------------------------------------------
OPEN +DATAC4/CDB001/wallet/ PASSWORD
1 row selected.
Step2> Create Local Auto Login KeyStore from Existing KeyStore
SQL> ADMINISTER KEY MANAGEMENT CREATE LOCAL AUTO_LOGIN KEYSTORE FROM KEYSTORE '+DATAC4/CDB01/wallet/' IDENTIFIED BY "xxxxxx";
keystore altered.
Step3> Close the Password Wallet
SQL> ADMINISTER KEY MANAGEMENT SET KEYSTORE CLOSE IDENTIFIED BY "xxxx" CONTAINER=ALL;
keystore altered.
Step4> Check the Status of Auto Login Wallet
SQL> set linesize 200
col WALLET_DIR for a32
col status for a21
select STATUS,WRL_PARAMETER WALLET_DIR,WALLET_TYPE from V$ENCRYPTION_WALLET;
col WALLET_DIR for a32
col status for a21
select STATUS,WRL_PARAMETER WALLET_DIR,WALLET_TYPE from V$ENCRYPTION_WALLET;
STATUS WALLET_DIR WALLET_TYPE
--------------------- -------------------------------- ------------------------------------------------------------
OPEN +DATAC4/CDB001/wallet/ LOCAL_AUTOLOGIN
--------------------- -------------------------------- ------------------------------------------------------------
OPEN +DATAC4/CDB001/wallet/ LOCAL_AUTOLOGIN
1 row selected.
Nice Article .....
ReplyDeleteHow to change the local auto login to auto login
ReplyDeleteclose the local auto login wallet
DeleteSQL> administer key management set keystore close;
open password based wallet
SQL> administer key management set keystore open identified by password;
Rename the cwallet.sso
mv cwallet.sso cwallet.sso_bkp
Create auto login keystore from password based keystore
SQL> ADMINISTER KEY MANAGEMENT CREATE AUTO_LOGIN KEYSTORE FROM KEYSTORE 'Keystore path' identified by password;
Close password based Keystore
SQL> administer key management set keystore close identified by password;
Verify the status of auto_login keystore
SQL> select STATUS,WRL_PARAMETER WALLET_DIR,WALLET_TYPE from V$ENCRYPTION_WALLET;
Well explained. Very clear steps to configure Oracle Wallet
ReplyDelete