Copyright 2013 - http://www. Weblogic-Wonders.com
You need to copy the datasource password present in the -jdbc.xml present under \config\jdbc to the password variable in the WLST Script.
Change the path variable to point to your domain
from weblogic.security.internal import * from weblogic.security.internal.encryption import * password = "{AES}0+5YrFk+fD9BFIykr3H+wPsNmPRP/GIOUId7SPqBgNg=" path = "D:/Oracle/Middleware/user_projects/domains/pega7_domain/security" encryptionService = SerializedSystemIni.getEncryptionService(path) cService = ClearOrEncryptedService(encryptionService) print "password: " + cService.decrypt(password)
Execute the above script after setting the environment
>setWLSEnv.cmd
>java weblogic.WLST decryptDatasourcePassword.py
You should see the decrypted password in the terminal.
The post How to decrypt WebLogic Datasource Password appeared first on Middleware wonders!!.