JKS

Java Key Store

Convert PFX to JKS

keytool -v -importkeystore -srckeystore mycert.pfx -srcstoretype PKCS12 -destkeystore mycert.jks -deststoretype JKS

Enter destination keystore password:Re-enter new password:Enter source keystore password:

Add Root and Intermediate Certificates

keytool -import -alias Root -keystore mycert.jks -trustcacerts -file GoDaddyRootCA.der

Enter keystore password:You might see something like: Certificate already exists in system-wide CA keystore under alias <godaddyclass2g2ca>

keytool -import -alias Intermediate -keystore mycert.jks -trustcacerts -file GoDaddyCA.der

Enter keystore password:

View Key Store

keytool -list -keystore mycert.jks

Enter keystore password:

Convert to Oracle Wallet

orapki wallet create -wallet ${WALLPATH} -pwd "mypassword"

orapki wallet jks_to_pkcs12 -wallet ${WALLPATH} -pwd "mypassword" -keystore mycert.jks -jkspwd "mypassword"

Current tests result in this error...

Exception : java.io.IOException: No self-signed cert in chain.

TODO *** FURTHER INVESTIGATION REQUIRED ***