My Oracle Support Banner

EM12c: emctl secure console -wallet command Fails With " Invalid padding string (or incorrect password)" (Doc ID 2182728.1)

Last updated on MARCH 20, 2023

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Securing 12.1.0.5 OMS using third party certificates fails with following error:

<OMS_HOME>/bin$ ./emctl secure console -wallet <wallet location>
==================
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Securing Console... Started.
Enter Enterprise Manager Root (SYSMAN) Password :
Securing Console... Failed. Check the log ../gc_inst/em/EMGC_OMS1/sysman/log/secure.log
==================

From ../gc_inst/em/EMGC_OMS1/sysman/log/secure.log:
====================
2016-09-12 11:16:45,477 [main] ERROR oms.SecureConsoleCmds main.187 - Failed to secure the Console: oracle.security.crypto.core.CipherException: Invalid padding string (or incorrect password)
java.io.IOException: oracle.security.crypto.core.CipherException: Invalid padding string (or incorrect password)
=================

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
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.