My Oracle Support Banner

Invalid Padding String (or Incorrect Password) at orapki execution (Doc ID 2731821.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Standard Edition - Version 19.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Create an Oracle Wallet :

C:\ORACLE_HOME\bin\orapki wallet create -wallet C:\Wallet_Path_Location -pwd woAbs=1x!0Zym

Oracle PKI Tool Release 19.0.0.0.0 - Production

Version 19.4.0.0.0

Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.

Operation is successfully completed.

 

Add  certificate to wallet:

C:\ORACLE_HOME\bin\orapki wallet add -wallet C:\Wallet_Path_Location -pwd woAbs=1x!0Zym -trusted_cert -cert C:\Wallet_Path_Location\roots.pem

Oracle PKI Tool Release 19.0.0.0.0 - Production

Version 19.4.0.0.0

Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.

oracle.security.crypto.core.CipherException: Invalid padding string (or incorrect password)

PKI-02003: Unable to load the wallet at: C:\Wallet_Path_Location

 

Add  certificate to wallet without special characters on the pwd (No errors)

 

C:\ORACLE_HOME\bin\orapki wallet create -wallet C:\Wallet_Path_Location2 -pwd woAbs81x10Zym

C:\ORACLE_HOME\bin\orapki wallet add -wallet C:\Wallet_Path_Location2 -pwd woAbs81x10Zym -trusted_cert -cert C:\Wallet_Path_Location2\roots.pem

Oracle PKI Tool Release 19.0.0.0.0 - Production

Version 19.4.0.0.0

Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.

Operation is successfully completed.



Changes

 

Cause

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
Symptoms
Changes
Cause
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.