Creating configuration file to connect WebLogic domain using WLST :
Collect the following:
1. Domain Name and Home
2. WebLogic console User, Password and URL
Step#1 : Go to domain Home:
For my POC system, domain name is
/u01/fmw/user_projects/domains/ebsapp
See the value from nodemanager.properties:
Home : /u01/fmw/user_projects/domains/ebsapp/nodemanager
Port : ListenPort=5556
Step#2 : Create UserKey and UserConfig file:
Go to wlst location: /u01/fmw/oracle_common/common/bin
$ wlst.sh
wls:/offline> connect('weblogic','PassW00rd','t3://100.10.10.10:7100')
wls:/ebsapp/serverConfig/> storeUserConfig('/home/oracle/userconfigNM.secure', '/home/oracle/userkeyNM.secure')
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key...
The username and password that were used for this WebLogic Server connection are stored in /home/oracle/userconfigNM.secure and /home/oracle/userkeyNM.secure.
wls:/ebsapp/serverConfig/> exit()
$
Step#3 : Verify
$ pwd
/home/oracle
$ ls -lrt
...
-rw-r----- 1 oracle dba 64 Oct 4 06:10 userkeyNM.secure
-rw-r----- 1 oracle dba 227 Oct 4 06:10 userconfigNM.secure