Tuesday, April 11, 2017

Convert to Oracle wallet to jks

  • Make sure your fusion middleware profile execute 
  • Make sure your JAVA HOME is correct if not you will get error


             ERROR: No Java
              /apps/oracle/product/WT/oracle_common/jdk or $JAVA_HOME should point to valid Java runtime

      wallet file should be located in your directory. 
       example ewallet.p12, ewallet.sso(optional)


./ is current location.


/apps/oracle/product/WT/oracle_common/bin/orapki wallet pkcs12_to_jks -wallet ./ -pwd xxxxxxx -jksKeyStoreLoc ./yourdesire.jks -jksKeyStorepwd xxxxxxxx


/apps/oranist/jre1.6.0_24/bin/keytool -list -v  -keystore prince.test.jks


/apps/oranist/jre1.6.0_24/bin/keytool -changealias -keystore yourdesire.jks -alias orakey -destalias desirename