EM 13c: OEM Agent Deployment Failed at Secure Step "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated"
(Doc ID 2969450.1)
Last updated on NOVEMBER 30, 2023
Applies to:
Enterprise Manager Base Platform - Version 13.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
While installing the OEM agent failed at the secure step.
Agent deploy command output:
Execution of command /apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl secure agent on host <AGENT_HOST_NAME> Failed
Below is form secure logfile
Secure Agent Failed, Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl secure agent
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl start agent
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl config agent addinternaltargets
Below is form secure logfile
Secure Agent Failed, Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl secure agent
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl start agent
/apps/oemagent/agent_13.3.0.0.0/agent_inst/bin/emctl config agent addinternaltargets
<AGENT_IST>/sysman/log/secure.log
2023-08-09 13:45:28,489 [main] INFO agent.SecureAgentCmd downloadFile.1227 - download pathAndQuery /empbs/wallets/agent<AGENT_HOSTNAME>/b64InternetCertificate.txt
2023-08-09 13:45:28,528 [main] INFO agent.SecureAgentCmd downloadFile.1230 - Response Status Code: 200
2023-08-09 13:45:28,531 [main] INFO agent.SecureAgentCmd secureAgent.437 - Finding CN in OMS cert to form UploadURL
2023-08-09 13:48:28,857 [main] ERROR agent.SecureAgentCmd main.353 - Failed to secure the Agent:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at sun.security.ssl.SSLSessionImpl.getPeerCertificateChain(SSLSessionImpl.java:479)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getOmsHostName(SecureAgentCmd.java:739)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:441)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:346)
2023-08-09 13:48:28,859 [main] INFO agent.SecureAgentCmd main.355 - Re-trying. Trials left:4
2023-08-09 13:45:28,528 [main] INFO agent.SecureAgentCmd downloadFile.1230 - Response Status Code: 200
2023-08-09 13:45:28,531 [main] INFO agent.SecureAgentCmd secureAgent.437 - Finding CN in OMS cert to form UploadURL
2023-08-09 13:48:28,857 [main] ERROR agent.SecureAgentCmd main.353 - Failed to secure the Agent:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at sun.security.ssl.SSLSessionImpl.getPeerCertificateChain(SSLSessionImpl.java:479)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.getOmsHostName(SecureAgentCmd.java:739)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:441)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:346)
2023-08-09 13:48:28,859 [main] INFO agent.SecureAgentCmd main.355 - Re-trying. Trials left:4
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 |