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:
[email protected]: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:
[email protected]: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. [email protected]: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. [email protected]: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:
[email protected]: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 [email protected]: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. [email protected]: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. [email protected]: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. [email protected]: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]