·
Create a file named decrypt_wlscredential.py under DOMAIN_HOME/security.
from
weblogic.security.internal import *
from
weblogic.security.internal.encryption import *
encryptionService
= SerializedSystemIni.getEncryptionService(".")
clearOrEncryptService
= ClearOrEncryptedService(encryptionService)
# Take
encrypt password from user
usr =
raw_input("Paste encrypted username ({AES}fk9EK...): ")
pwd =
raw_input("Paste encrypted password ({AES}abcd1234…): ")
# Delete
unnecessary escape characters
prepusr =
usr.replace("\\", "")
preppwd =
pwd.replace("\\", "")
# Display
password
print
"Weblogic User is: " + clearOrEncryptService.decrypt(prepusr)
print
"Decrypted Password is: " + clearOrEncryptService.decrypt(preppwd)
·
Set domain environment variables using below
script.
cd DOMAIN_HOME/bin
source setDomainEnv.sh
source setDomainEnv.sh
·
Copy the encrypted username and password from DOMAIN_HOME/servers/AdminServer/security/boot.properties.
It will be similar to {AES}abcd123….
username= {AES}mcXAr6waMC4pchqOuYnDrDWd7JhB4NX9sVnbDBI3DN8=
password= {AES}HgrXPpfgEEGsFJe0erD6HSpvX0FVrEGGOiwOIGumosQ=
·
Execute decrypt_wlsadminpwd.py script using WLST.
When prompted paste the encrypted password.
cd DOMAIN_HOME/security
java weblogic.WLST decrypt_wlspwd.py
java weblogic.WLST decrypt_wlspwd.py
·
Provide the
credentials as copied earlier from boot.properties
· The Decrypted Username and Password will be provided as shown above.
betmatik
ReplyDeletekralbet
betpark
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
XR4JW
شركة مكافحة الحمام بالدمام jtVzZZTKeP
ReplyDelete