Retrieve ODSSM schema Password

Follow the below steps to retrieve ODSSM schema password.

Make sure that the weblogic Admin Server is running state.

Navigate to $ORACLE_HOME/common/bin and execute wlst.cmd

The following message will be displayed.

Initializing WebLogic Scripting Tool (WLST) …

Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands
wls:/offline>

Enter connect(‘<Weblogic_username>’,’<password>’,’<Weblogic_admin_sever url>’)

Where weblogic_admin_server url in this format : t3://<adminserver-host-name:adminserver-port>

Example :
wls:/offline> connect(‘weblogic’,’welcome1′,’t3://localhost:7001′)

Connecting to t3://localhost:7001 with userid weblogic …
Successfully connected to Admin Server ‘AdminServer’ that belongs to domain ‘IDMDomain’.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

 

The ServerConfig tab will be displayed.
wls:/IDMDomain/serverConfig>

Enter the listCred command to retrieve ODSSM schema password as shown below,

wls:/IDMDomain/serverConfig> listCred(map=’odssm’,key=’ODSSM_oidinst_1′)

Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

[Name : ODSSM, Description : null, expiry Date : null]
PASSWORD:welcome1

This will display the password as shown above.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>