Upload_Port/empbs/upload. [handshake has no peer]

I had to deploy an EM13c agent on an AIX box and I have noticed the following error in emoms_pbs.trc ( this is located on OMS box: /u01/app/oracle/em13c/gc_inst/em/EMGC_OMS1/sysman/log):

oracle.sysman.emSDK.agent.comm.exception.VerifyConnectionException: unable to connect to http server at https://server1:3872/emd/main/. [handshake has no peer]

After the agent was deployed, I tried to add targets using OMS graphical interface but no target had been found. The agent was successful uploading:

oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl upload agent
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 EMD upload completed successfully

I tried to add the internal targets:

oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl stop agent  Oracle Enterprise Manager Cloud Control 13c Release 2  Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.  Stopping agent … stopped. 
 
oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl start agent  Oracle Enterprise Manager Cloud Control 13c Release 2  Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.  Starting agent ………. started.
  
oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl config agent addinternaltargets  
Oracle Enterprise Manager Cloud Control 13c Release 2  
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.  2019-06-25 09:14:01,842 [main] WARN  oracle.sysman.gcagent.comm.agent.http.SSLInit  - User requested cipher suite SSL_RSA_WITH_RC4_128_MD5, which is not supported for SSLContext SSL_TLS  2019-06-25 09:14:01,850 [main] WARN  oracle.sysman.gcagent.comm.agent.http.SSLInit  - User requested cipher suite SSL_RSA_WITH_RC4_128_SHA, which is not supported for SSLContext SSL_TLS

I tried to list the internal targets and nothing has been added. And that’s due to the WARNINGS from above. To fix it, I did the following:

oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl setproperty agent -name SSLCipherSuites -value SSL_RSA_WITH_AES_128_CBC_SHA
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 EMD setproperty succeeded
 oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl stop agent
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 Stopping agent … stopped.
 oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl start agent
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 Starting agent ………. started.
 oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl config agent addinternaltargets
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 oracle@server1:db1::/u01/app/oracle/em13c/agent_basedir/agent_inst/bin$ ./emctl config agent listtargets
 Oracle Enterprise Manager Cloud Control 13c Release 2
 Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
 [server1, host]
 [server1:3872, oracle_emd]
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.