EMCC: SHA256 warning returned from the agent

To address SHA256 warnings, such as those reportes from the command below:

emctl config agent addinternaltargets
Oracle Enterprise Manager Cloud Control 13c Release 3 
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
2020-05-19 16:06:07,167 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,174 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,174 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite ECDHE_RSA_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,174 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite RSA_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,174 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite RSA_WITH_AES_256_GCM_SHA384, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,174 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite ECDHE_RSA_WITH_AES_256_GCM_SHA384, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite DHE_RSA_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite DHE_DSS_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite DHE_DSS_WITH_AES_256_GCM_SHA384, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite DHE_RSA_WITH_AES_256_GCM_SHA384, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite DH_DSS_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2
2020-05-19 16:06:07,175 [main] WARN oracle.sysman.gcagent.comm.agent.http.SSLInit - User requested cipher suite ECDH_ECDSA_WITH_AES_128_GCM_SHA256, which is not supported for SSLContext TLSv1.2

 

Process as follow:

emctl setproperty agent -name SSLCipherSuites -value TLS_RSA_WITH_AES_128_CBC_SHA:TLS_RSA_WITH_AES_256_CBC_SHA

 

Then

./emctl stop agent
./emctl start agent
./emctl config agent addinternaltargets
./emctl secure agent
./emctl config agent listtargets