My Oracle Support Banner

EM13c: Secure Agent Using Wallet Fails with 'ERROR:501:Process custom wallet Operation Failed' (Doc ID 3073499.1)

Last updated on MARCH 27, 2025

Applies to:

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

Symptoms

On : 13.5.0.0.0 version, Security Framework

In Oracle Enteprise Manager Cloud Control, securing Target Agent using a wallet failing with below error.

cd <agent-inst>/bin
./emctl secure agent <*****> -wallet /u01/app/oracle/product/agent/OEMAgentwallet/<wallet-name>
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Securing agent... Failed.

 Agent's secure.log is having below errors.

2025-02-11 15:49:44,927 [main] INFO agent.SecureAgentCmd sendWallet.1425 - Opening: https://<oms-hostname>:<port>/empbs/genwallet
2025-02-11 15:49:44,951 [main] INFO agent.SecureAgentCmd sendWallet.1472 - Response Status Code: 200
2025-02-11 15:49:44,951 [main] INFO agent.SecureAgentCmd sendWallet.1473 - RESPONSE_STATUS header: ERROR:501:Process custom wallet Operation Failed
2025-02-11 15:49:44,952 [main] INFO agent.SecureAgentCmd sendWallet.1474 - Response body: ERROR
2025-02-11 15:49:44,952 [main] ERROR agent.SecureAgentCmd sendWallet.1489 - Exception caught while sending wallet:
java.lang.Exception: Send wallet error: ERROR:501:Process custom wallet Operation Failed
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.sendWallet(SecureAgentCmd.java:1483) [emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgentWithOMS(SecureAgentCmd.java:634) [emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:437) [emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:368) [emagentSDK.jar:13.5.0.0.0]
2025-02-11 15:49:44,955 [main] ERROR agent.SecureAgentCmd main.390 - Failed to secure the Agent:
java.lang.Exception: Send wallet error: ERROR:501:Process custom wallet Operation Failed
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.sendWallet(SecureAgentCmd.java:1483) ~[emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgentWithOMS(SecureAgentCmd.java:634) ~[emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:437) ~[emagentSDK.jar:13.5.0.0.0]
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:368) [emagentSDK.jar:13.5.0.0.0]
[11-02-2025 15:49:44] USERINFO ::Securing agent... Failed.

 

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.