Thursday, May 18, 2017

How to extract Private key from wallet

openssl pkcs12 -in /home/oracle/wallet/ewallet.p12 -nocerts -out private_key.pem

Enter Import Password:
MAC verified OK
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:

The first password that openssl asks (Enter Import Password) is the wallet password.
The other password (Enter PEM pass phrase) is used to protect the exported key.

No comments: