Introduction :

Oracle WebLogic Server 12c R2 is one of industry’s noteable application servers for building and deploying enterprise Java EE applications with support for all the latest features for lowering cost of operations, enhancing  performance, better scalability and supporting the Oracle Applications ERP. WebLogic Server Java EE applications are based on standardized, modular components. WebLogic Server provides a full set of services for those modules and handles a lot of details of application behavior on its own without the need for coding.

1. Go to the location of the file “boot.properties”

cd /u05/web/OEM/gc_inst/user_projects/domains/GCDomain/servers/OEM_ADMINSERVER/security
ls -ltr boot.properties

2. Gather encrypted information from the file “boot.properties”
username={AES}xxxx

password={AES}yyyy

3. Create a java script as below to decrypt the credentials

cat getpassword

public class getpassword {
public static void main(String[] args)
{
System.out.println(
new weblogic.security.internal.encryption.ClearOrEncryptedService(
weblogic.security.internal.SerializedSystemIni.getEncryptionService(args[0] )).decrypt(args[1]));
}
}

4. Execute the file setDomainEnv.sh

5. Execute the below command to decrypt the password

oraoem=>java -cp $CLASSPATH:. getpassword $DOMAIN_HOME {AES}yyyy

Recommended Posts

Start typing and press Enter to search