Thursday, April 19, 2012

SSL trouble on Weblogic 12c (12.1) nodemanger

On 12.1 version of weblogic:
Trying to configure SSL on nodemanger.
After setting the CustomIdentityKeyStorePassPhase  and CustomIdentityPrivateKeyPassPhase attributes in the file in clear text and restarting the nodemanager,
the values are not being replaced with the encrypted value.

On 10.3.X series it is working fine and values are being encrypted.

If you take the file from a 10.3.x version (wlserver_10.3\common\nodemanager) and place it in (wlserver_12.1\common\nodemanager) path and then run a fresh
The  CustomIdentityKeyStorePassPhase  and CustomIdentityPrivateKeyPassPhase values in are getting encrypted and also it deletes the file.

Wednesday, April 18, 2012

To encrypt clear text passwords

To encrypt a clear text value which could be used in weblogic file
run the setdomainenv from the domain folder.
It will ask you for password and you may enter the value to be encrypted, The resultant encrypted value could be used in any weblogic file.

Check JDBC driver version

To check the JDBC driver version

run . ./ (dot space dot slash)
traverse to

cd *\wlserver_10.3\server\lib
java -jar ojdbc6.jar (where ojdbc6.jar is the driver's jar file)

you would get the result as
Oracle JDBC 4.0 compiled with JDK6

so is the version.

for db2 driver

D:\work\wls\wls12.1.1\wlserver_12.1\server\lib>java -cp wldb2.jar weblogic.jdbc.db2.DB2Driver
[FMWGEN][DB2 JDBC Driver]Driver Version: (F044246.U015812)