My Oracle Support Banner

Why ./pw_agent_util.sh Fails With PKI-02002: Unable To Open The Wallet. Check Password Error? (Doc ID 1921963.1)

Last updated on JUNE 14, 2022

Applies to:

Management Pack for Oracle GoldenGate - Version 11.2.1.0.1 and later
Oracle GoldenGate - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Goal

When running
./pw_agent_util.sh -updateAgentJMX


it fails with this error:
------------------------
Please enter new password for Java Agent:
Please confirm password for Java Agent:
Aug 18, 2014 8:32:10 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
0 [main] ERROR com.goldengate.wallet.WalletHelper - oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
26 [main] ERROR com.goldengate.wallet.WalletHelper - java.lang.NullPointerException
Wallet does not exist. Please create one first.
-------------------------

If running
./pw_agent_util.sh -jagentonly


is attempted then the following error occurs
-------------------------
Wallet is already created. Please use either -updateAgentJMX or -updateServerJMX to update existing passwords.
-------------------------

Why is this happening and how to fix it?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.