How to regenerate DemoIdentity.jks and DemoTrust.jks

Requirement:

How to regenerate DemoIdentity.jks and DemoTrust.jks file for weblogic

Solution:

1. Regenerate DemoIdentity.jks

We can use below commands to regenerate DemoIdentity.jks

[orcloim@mydmain]$ export PATH=$PATH:/u01/java/jdk1.8.0_152/jre/bin

[orcloim@mydmain]$ java utils.CertGen -keyfilepass DemoIdentityPassPhrase -certfile democert -keyfile demokey -strength 1024
Error: Could not find or load main class utils.CertGen

Export CLASSPATH environment variable Continue reading

Advertisements

How to Configure OUD to accept SSL using a Self-Signed Certificate

Requirement:
Need to enable SSL for OUD with self-signed certificate.

Steps to create SSL self-signed certificate for OUD (11.1.2.3.0)

1. Prepare keystore directory:

cd /u01/mwOUD/asinst_2/OUD
mkdir config/sslv101
touch sslv101/keystore.pin
chmod 666 config/sslv101/keystore.pin

Add password to above file. In my case, I have added P@ssw0rd to file. Continue reading

How to reset Weblogic Administrator password

Requirement:
Need to change weblogic password.

Steps to reset/change weblogic password:
1. set environment variable like MW_HOME, WL_HOME, CLASSPATH
2. Delete data directory under <DOMAIN_HOME>/servers/AdminServer
3. Take backup of *.ldift <DOMAIN_HOME>/security
4. run “java weblogic.security.utils.AdminAccount weblogic Dev@1234 .”
5. Update boot.properties with new password and start

Continue reading

How to Decrypt SqlDeveloper connections passwords

To recover password we need two files named connections.xml & product-preferences.xml .
Above files can be available in below locations

On Windows :
%APPDATA%\SQL Developer\system*\o.jdeveloper.db.connection*\connections.xml
%APPDATA%\SQL Developer\system*\o.sqldeveloper*\product-preferences.xml

On Linux :
user_home/.sqldeveloper/system/o.sqldeveloper/connections.xml
user_home/.sqldeveloper/system/o.sqldeveloper/product-preferences.xml

Continue reading