Oracle 12cR2 – How to Setup Oracle Wallets

Step by Step how to setup Oracle Wallet to avoid Keying in the Password or Saving the Password in an Script file


Are you really concerned about Security. Are you not willing to save the password in a file or not willing to key in as and when required.

Then you must read this blog until the end

Create directory to hold wallet

mkdir -p /u01/app/oracle/admin/wallet
Enter wallet information in your sqlnet.ora

WALLET_LOCATION =
   (SOURCE =
     (METHOD = FILE)
     (METHOD_DATA =
       (DIRECTORY = /u01/app/oracle/admin/wallets)
     )
   )
SQLNET.WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0


Now, create the wallet and the credentials

$ mkstore -wrl /u01/app/oracle/admin/wallets -create

Oracle Secret Store Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Enter password:
Enter password again:

$ mkstore -wrl /u01/app/oracle/admin/wallets -createCredential ORCL1 SYS

Oracle Secret Store Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Your secret/Password is missing in the command line
Enter your secret/Password:
Re-enter your secret/Password:
Enter wallet password:

$ mkstore -wrl /u01/app/oracle/admin/wallets -listCredential

Oracle Secret Store Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Enter wallet password:
List credential (index: connect_string username)
1: ORCL1 SYS

$ cd /u01/app/oracle/admin/wallets/
$ ls -l


-rw-------. 1 oracle oinstall 581 Jun 24 17:47 cwallet.sso
-rw-------. 1 oracle oinstall   0 Jun 24 17:43 cwallet.sso.lck
-rw-------. 1 oracle oinstall 536 Jun 24 17:47 ewallet.p12
-rw-------. 1 oracle oinstall   0 Jun 24 17:43 ewallet.p12.lck


sqlplus /@ORCL1 as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Sat Jun 24 18:20:54 2017
Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL>

Did you change your Sys User password? Are you worried now about your Wallet?
No problem just update the wallet Password

mkstore -wrl /u01/app/oracle/admin/wallets -modifyCredential ORCL1 SYS

Hope you have enjoyed the post.

Please feel free to post your Questions/Comments/Suggestions. I would be happy to Answer your queries





7 comments:

  1. The most effective method to Solve Oracle Wallet Password Issue through Remote DBA Services
    What will you do, on the off chance that you are not ready to utilize exceptional characters in pattern secret key on the off chance that they are utilized by means of Oracle wallet? In the event that you have a similar issue then you should characterize an alpha numeric secret key yet in the event that you getting any sort of blunder in regards to this at that point call to Database Administration for Oracle or Online Oracle Database System. Here you will likewise discover what making your Oracle database run moderate. Rapidly contact to our Oracle database System and fathom these issues with gathering of specialized specialists.

    #DatabaseAdministrationforOracle #RemoteDBAServices
    #oracledatabasesystems #freeoracledatabasetool
    #onlineoracledbsupport #oracledatabasesolutions

    For More Info: https://cognegicsystems.com/
    Contact Number: 1-800-450-8670
    Email Address- info@cognegicsystems.com
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

    ReplyDelete
  2. I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,..
    chain wallets

    ReplyDelete
    Replies
    1. Hi
      Thanks for your feedback. You can also catch me @
      https://onlinedbalearning.blogspot.com/

      Delete
  3. Get in Touch with Online Oracle DB Support to Solve Oracle Issue
    Get versatile and administered Oracle bolster through Cognegic's Database Administration for Oracle. We will probably give lively and trustworthy help to customers who go up against a sort of specific issue as for their Oracle database. In case you find botches in your Oracle database like internal code botch, memory plan issue, and invalid number issue et cetera then basically you can contact to our Remote DBA Services and experienced the latest and push Support.
    For More Info: https://cognegicsystems.com/
    Contact Number: 1-800-450-8670
    Email Address- info@cognegicsystems.com
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

    ReplyDelete
  4. set EXTRA_JAVA_PROPERTIES=-Duser.language=en -Duser.country=US %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%

    EN este archivo .- C:\Users\cjimenez.DGSGIF\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\DefaultDomain\bin
    setDomainEnv.cmd

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Just a heads up. Wallet/TDE is licensed product. If you don't have license for it do not use it.

    ReplyDelete