Created 08-03-2018 01:37 PM
I am using ambari 2.4.2 and getting below error while registering ambari-agent . If I do not want two-way ssl then how I can disable.
Tried this link but didn't worked.
ERROR 2018-08-03 13:20:12,579 Controller.py:212 - Unable to connect to: https://mosaic.sandbox.com:8441/agent/v1/register/mosaic.sandbox.com Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 165, in registerWithServer ret = self.sendRequest(self.registerUrl, data) File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 496, in sendRequest raise IOError(\'Request to {0} failed due to {1}\'.format(url, str(exception))) IOError: Request to https://mosaic.sandbox.com:8441/agent/v1/register/mosaic.sandbox.com failed due to EOF occurred in violation of protocol (_ssl.c:579) ERROR 2018-08-03 13:20:12,579 Controller.py:213 - Error:Request to https://mosaic.sandbox.com:8441/agent/v1/register/mosaic.sandbox.com failed due to EOF occurred in violation of protocol (_ssl.c:579) WARNING 2018-08-03 13:20:12,580 Controller.py:214 - Sleeping for 15 seconds and then trying again ', None) ('INFO 2018-08-03 13:20:12,459 Facter.py:194 - Directory: \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering system resources.
Created 08-03-2018 02:19 PM
This is not the issue with 2 way ssl. SSL is disabled by default.
If you are facing this issue in fresh install, add below property in ambari-agent.ini file and restart the service
[security] force_https_protocol=PROTOCOL_TLSv1_2
Created 08-04-2018 10:52 AM
I have tried this bit not worked.
Created 08-03-2018 05:52 PM
@Ashnee Sharma Which OS are you using CentOS6/RHEL6 does not support TLSV1_2 version - you your Java might be blocking TLS1, TLS1_1 version - so you may have to tweak the service java.security file. Please refer https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.h...
Created 09-21-2018 10:24 AM
I am using RHEL 7.4
Created 09-21-2018 04:03 PM
please refer the article I mentioned above