Database Security Products (MOSC)

MOSC Banner

orapki wallet jks_to_pkcs12 requires keystore password on command-line?

When using the Oracle utility orapki to transfer keys and certificates from a java keystore to a wallet it appears that the keystore password needs to be entered on the command-line in clear text. Most utilities dealing with keystores allow you to enter highly sensitive passwords at a password prompt that hides the password. The following command fails with a message that a keystore password is required:

orapki wallet jks_to_pkcs12 -wallet /tmp/convert/test2 -keystore test.jks

When entering a password on the command-line the command works:

orapki wallet jks_to_pkcs12 -wallet /tmp/convert/test2 -keystore test.jks -jkspwd TheKeystorePassword...

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center