How to Fixed this Error.
Solution:
# In the server node cli:
vim /etc/ambari-agent/conf/ambari-agent.ini
# add this config to ambari-agent.ini [security]
force_https_protocol=PROTOCOL_TLSv1_2
Solution:
# In the server node cli:
vim /etc/ambari-agent/conf/ambari-agent.ini
# add this config to ambari-agent.ini [security]
force_https_protocol=PROTOCOL_TLSv1_2