While attempting to get the keystore password using listCred() wlst command, I got the below error:
wls:/oam_domain/domainRuntime> listCred(map="OAM_STORE",key="jks")
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: listCred
wls:/oam_domain/domainRuntime> help('listCred')
No help for listCred found. Please try help() for available options.
2) Click Operation tab and select getPortableCredential
3) Enter both the parameters as shown
wls:/oam_domain/domainRuntime> listCred(map="OAM_STORE",key="jks")
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: listCred
wls:/oam_domain/domainRuntime> help('listCred')
No help for listCred found. Please try help() for available options.
Oracle has removed listCred wlst command and is no longer available in OAM 11.1.2.3.0
To retrive the .oamkeystore password follow the below steps:
1) Log into to EM console, navigate to Weblogic Domain ->Domain Name ->System Mbean Browser
Under Application Defined Mbean go to om.oracle.jps ->Domain:<domain_name> -> JpsCredentialStore ->JpsCredentialStore
As shown
2) Click Operation tab and select getPortableCredential
4) Click on Invoke to get the password
thank you. this helped me. What's the difference between getCredentialMap and getPortableCredentialMap
ReplyDeletelistCred through WLST is no more with WebLogic 12c. Thanks for this procedure, it does help. Appreciate your knowledge sharing.
ReplyDelete+1
ReplyDeleteWorking great. Thank you.
ReplyDeleteThanks you
ReplyDelete