• alamgir shaikh 21:28 on November 26, 2014 Permalink Reply
    Tags: Decrypt weblogic password, encrypted password, Plain Text password   

    Decrypt the Password in Weblogic

    • Below steps can be followed to Decrypt the Passwords in Weblogic.
    source $DOMAIN_HOME/bin/setDomainEnv.sh
    cd $DOMAIN_HOME/security  
    

    • Please create a file called plainpassword.py with the below contents and save the file.
    from weblogic.security.internal import *  
    from weblogic.security.internal.encryption import *
    
    encryptionService = SerializedSystemIni.getEncryptionService(".")  
    clearOrEncryptService = ClearOrEncryptedService(encryptionService)
    
    passwd = raw_input("Enter encrypted password of one which you wanted to decrypt : ")
    
    plainpwd = passwd.replace("\\", "")
    
    print "Plain Text password is: " + clearOrEncryptService.decrypt(plainpwd)  
    
    • Run the below command to decrypting the password. Enter the encrypted password when prompted.
    java weblogic.WLST plainpassword.py  
    Initializing WebLogic Scripting Tool (WLST) ...  
    Welcome to WebLogic Server Administration Scripting Shell  
    Type help() for help on available commands  
    Enter encrypted password of one which you wanted t
    o decrypt : {AES}LsGaddassssvQDyibmejXFkf1tWxyndNArAhZ3M5GcnjXWUpJs=  
    Plain Text password is: Welcome1234  
    
    • Using this way we can decrypt the encrypted password from boot.propertis and db schema passwords stored data source xml files on $DOMAIN_HOME/config/jdbc and also we can decrypt the NM password which is on config.xml.

     

     

    Reply

    Required fields are marked *

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: