<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Openssl error upon host registration in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94274#M7455</link>
    <description>&lt;P&gt;This worked for me.  Was using openJDK v1.8.  Tried a bunch of things, but the only thing that worked was installing the Oracle JDK on Ambari and all nodes.  You may have to use the "alternative --config java" to activate the correct JDK even when installing via RPM.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2016 07:59:39 GMT</pubDate>
    <dc:creator>neil_hauge</dc:creator>
    <dc:date>2016-08-12T07:59:39Z</dc:date>
    <item>
      <title>Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94255#M7436</link>
      <description>&lt;P&gt;I'm trying to register hostnames in Ambari but getting the error below. We tried to run yum update openssl but its got the latest version. We tried to run yum - update it didn’t help. I also tried removing the other openssl packages openssl-devel-1.0.1e-42.el6.x86_64, openssl098e-0.9.8e-17.el6.centos.2.x86_64 and restarting the ambari server/agents and same error. Tried running yum -y install opens* as well but didn’t help. Any ideas?&lt;/P&gt;&lt;PRE&gt;ERROR 2015-09-23 09:47:07,402 NetUtil.py:77 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol
ERROR 2015-09-23 09:47:07,402 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.
WARNING 2015-09-23 09:47:07,402 NetUtil.py:105 - Server at &lt;A href="https://test.org:8440is" target="_blank"&gt;https://test.org:8440is&lt;/A&gt; not reachable, sleeping for 10 seconds...
WARNING 2015-09-23 09:47:07,402 NetUtil.py:105 - Server at &lt;A href="https://test.org:8440is" target="_blank"&gt;https://test.org:8440is&lt;/A&gt; not reachable, sleeping for 10 seconds...
INFO 2015-09-23 09:47:14,746 main.py:74 - loglevel=logging.INFO
INFO 2015-09-23 09:47:14,746 main.py:74 - loglevel=logging.INFO
INFO 2015-09-23 09:47:17,403 NetUtil.py:59 - Connecting to &lt;A href="https://test.org:8440/ca" target="_blank"&gt;https://test.org:8440/ca&lt;/A&gt;
WARNING 2015-09-23 09:47:17,404 NetUtil.py:82 - Failed to connect to &lt;A href="https://test.org:8440/ca" target="_blank"&gt;https://test.org:8440/ca&lt;/A&gt; due to [Errno 111] Connection refused
WARNING 2015-09-23 09:47:17,404 NetUtil.py:105 - Server at &lt;A href="https://test.org:8440is" target="_blank"&gt;https://test.org:8440is&lt;/A&gt; not reachable, sleeping for 10 seconds...
WARNING 2015-09-23 09:47:17,404 NetUtil.py:105 - Server at &lt;A href="https://test.org:8440is" target="_blank"&gt;https://test.org:8440is&lt;/A&gt; not reachable, sleeping for 10 seconds...
ERROR 2015-09-23 09:47:19,780 main.py:315 - Fatal exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in &amp;lt;module&amp;gt;
    main(heartbeat_stop_callback)
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main
    stop_agent()
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent
    sys.exit(1)
SystemExit: 1
ERROR 2015-09-23 09:47:19,780 main.py:315 - Fatal exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in &amp;lt;module&amp;gt;
    main(heartbeat_stop_callback)
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main
    stop_agent()
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent
    sys.exit(1)
SystemExit: 1
&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:02:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94255#M7436</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-09-24T03:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94256#M7437</link>
      <description>&lt;P&gt;What is the jdk being used?&lt;/P&gt;&lt;P&gt;We have noticed issues issues when  open jdk 1.7.0 is used with Ambari Server resulted in the ssl issue?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:20:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94256#M7437</guid>
      <dc:creator>smohanty</dc:creator>
      <dc:date>2015-09-24T03:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94257#M7438</link>
      <description>&lt;P&gt;I believe its using openjdk 1.7. How do I check this? There are several jdk versions installed on all machines. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:22:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94257#M7438</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-09-24T03:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94258#M7439</link>
      <description>&lt;P&gt;Check for the value in ambari.properties file:&lt;/P&gt;&lt;P&gt;java.home=/usr/jdk64/jdk1.8.0_40&lt;/P&gt;&lt;P&gt;jdk.name=jdk-8u40-linux-x64.tar.gz &lt;/P&gt;&lt;P&gt;If there are multiple jdks installed try switching the jdk.&lt;/P&gt;&lt;P&gt;ambari-server setup –j &amp;lt;jdk path&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Installing_HDP_AMB/content/_setup_options.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Installing_HDP_AMB/content/_setup_options.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:23:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94258#M7439</guid>
      <dc:creator>smohanty</dc:creator>
      <dc:date>2015-09-24T03:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94259#M7440</link>
      <description>&lt;P&gt;Got it. It’s using OpenJDK 1.7.0_85. Is this version an issue with HDP 2.3?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:24:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94259#M7440</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-09-24T03:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94260#M7441</link>
      <description>&lt;P&gt;Yes. That is a known issue. Modify  Ambari Server's java.home  to the standard oracle jdk.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:26:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94260#M7441</guid>
      <dc:creator>smohanty</dc:creator>
      <dc:date>2015-09-24T03:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94261#M7442</link>
      <description>&lt;P&gt;that fixed it. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:27:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94261#M7442</guid>
      <dc:creator>rgarcia</dc:creator>
      <dc:date>2015-09-24T03:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94262#M7443</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;We are also facing same issue. Even after setting java.home=/usr/jdk64/jdk1.8.0_40  in ambari.properties , it is not resolved. &lt;/P&gt;&lt;P&gt;Is standard oracle jdk path different from this ?&lt;/P&gt;&lt;P&gt;Below are logs snippet from ambari-agent.log ::&lt;/P&gt;&lt;P&gt;ERROR 2015-12-24 18:43:31,604 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
ERROR 2015-12-24 18:43:31,604 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 21:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94262#M7443</guid>
      <dc:creator>gaurav_sharma</dc:creator>
      <dc:date>2015-12-24T21:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94263#M7444</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1791/gauravsharma.html" nodeid="1791"&gt;@gaurav sharma&lt;/A&gt; I am actually facing the same issue, I have the same SSL error message during the registration. Did you find a solution ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2015 06:11:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94263#M7444</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2015-12-25T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94264#M7445</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt;  No, we are still trying to figure out the solution. &lt;/P&gt;&lt;P&gt;OpenSSl version in my case is ::&lt;/P&gt;&lt;P&gt;[root@dehdteste7778b54apse01 ~]# rpm -qa | grep openssl&lt;/P&gt;&lt;P&gt;
openssl-devel-1.0.1k-13.88.amzn1.x86_64&lt;/P&gt;&lt;P&gt;
openssl-1.0.1k-13.88.amzn1.x86_64&lt;/P&gt;&lt;P&gt;Can this be a problem ?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Dec 2015 13:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94264#M7445</guid>
      <dc:creator>gaurav_sharma</dc:creator>
      <dc:date>2015-12-26T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94265#M7446</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; , &lt;A rel="user" href="https://community.cloudera.com/users/1791/gauravsharma.html" nodeid="1791"&gt;@gaurav sharma&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;which one is your default Java, that is being used ?&lt;/P&gt;&lt;PRE&gt;alternatives --display java&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;ls -al /etc/alternatives/java&lt;/PRE&gt;&lt;P&gt;Can you ensure that you are using Oracle JDK?&lt;/P&gt;&lt;P&gt;afaik it is definitely something related to the Java Kit...&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 04:25:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94265#M7446</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-27T04:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94266#M7447</link>
      <description>&lt;PRE&gt;ls -al /etc/alternatives/java :
/etc/alternatives/java -&amp;gt; /opt/jdk1.8.0_66/bin/java&lt;/PRE&gt;&lt;PRE&gt;nano /etc/ambari-server/conf/ambari.properties :
java.home=/usr/jdk64/jdk1.8.0_40
server.jdbc.postgres.schema=ambari
jdk.name=jdk-8u40-linux-x64.tar.gz
&lt;/PRE&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  To sum up my issue:&lt;/P&gt;&lt;P&gt;I was trying to install Kerberos using the Active directory KDC option, then I had an issue and I was told that I should add the ambari server to the list of the cluster hosts (i.e. Having an ambari agent running with the ambari server on the same host). My 5 nodes are running well, now in the Add Host Wizard, I want to register the machine hosting the ambari-server, however the SSL_Error pops up each time I try to make it. In the ambari-agent.log, I can see the following message:&lt;/P&gt;&lt;PRE&gt;WARNING 2015-12-26 23:55:33,924 NetUtil.py:105 - Server at &lt;A href="https://manager.cluster.mediatvcom:8440"&gt;https://manager.cluster.mediatvcom:8440&lt;/A&gt; is not reachable, sleeping for 10 seconds...
WARNING 2015-12-26 23:55:33,924 NetUtil.py:105 - Server at &lt;A href="https://manager.cluster.mediatvcom:8440"&gt;https://manager.cluster.mediatvcom:8440&lt;/A&gt; is not reachable, sleeping for 10 seconds...
INFO 2015-12-26 23:55:43,925 NetUtil.py:59 - Connecting to &lt;A href="https://manager.cluster.mediatvcom:8440/ca"&gt;https://manager.cluster.mediatvcom:8440&lt;/A&gt;
ERROR 2015-12-26 23:55:44,099 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
ERROR 2015-12-26 23:55:44,099 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468"&gt;https://manager.cluster.mediatvcom:8440&lt;/A&gt; for more details. &lt;/PRE&gt;&lt;P&gt;For more details, I opened a thread 3 days ago regarding this issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/7886/getting-500-status-code-received-on-post-method-fo.html#comment-8048"&gt;https://community.hortonworks.com/questions/7886/g...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 07:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94266#M7447</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2015-12-27T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94267#M7448</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1791/gauravsharma.html" nodeid="1791"&gt;@gaurav sharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;In the documentation, it is said that we should user OpenSSL (v1.01, build 16 or later). So I think you should upgrade your OpenSSL version. Actually, I am running openssl-1.0.1e-42.el6_7.1.x86_64, and still not being able to register my agent &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 07:11:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94267#M7448</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2015-12-27T07:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94268#M7449</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; you're showing two different versions of Java. Notice one is 66 and the one in ambari.properties is 40. Modify the ambari.properties as &lt;A rel="user" href="https://community.cloudera.com/users/165/smohanty.html" nodeid="165"&gt;@smohanty&lt;/A&gt; suggested to the latest version.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 12:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94268#M7449</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-12-27T12:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94269#M7450</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; ,  I cross-checked your post you was referring to. In that post you mention you are(were) running Oracle JDK 1.7 and now you upgraded just the Ambari-node to JDK 1.8. Does this mean all the other cluster nodes are still running OracleJDK1.7 ?&lt;/P&gt;&lt;P&gt;And your output of the java version and property entry show two different versions.&lt;/P&gt;&lt;P&gt;I'd recommend to ensure that you are running the same ORACLE JDK on the ambari node as on the other cluster nodes. Compare by e.g.&lt;/P&gt;&lt;PRE&gt;#&amp;gt;java -version

#&amp;gt;alternatives --display java

#&amp;gt;rpm -qa | grep java&lt;/PRE&gt;&lt;P&gt;on Ambari node vs. another cluster node.&lt;/P&gt;&lt;P&gt;I got rid of that error message (some weeks back having the same issue, but with HDP2.2 version) by using ORACLE JDK1.7 throughout all the nodes. And don't forget to run&lt;/P&gt;&lt;PRE&gt;#&amp;gt;ambari-server setup -j &amp;lt;your-java-home&amp;gt;
e.g. if you have your java installed in /usr/jdk64/oraclejdk1.7/bin/java, then
#&amp;gt;ambari-server setup -j /usr/jdk64/oraclejdk1.7&lt;/PRE&gt;&lt;P&gt;And I totally agree to &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; , at least fix your version mismatch on the ambari node itself. Therefore if you want to stick with your 1.8.0_66 version, then&lt;/P&gt;&lt;PRE&gt;#&amp;gt;ambari-server setup -j /opt/jdk1.8.0_66/&lt;/PRE&gt;&lt;P&gt;HTH, best regards...&lt;/P&gt;</description>
      <pubDate>Sun, 27 Dec 2015 19:02:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94269#M7450</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2015-12-27T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94270#M7451</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help. I followed your recommendations and I finally figured out what was messing up !! The main issue was related to python and not to jdk !!&lt;/P&gt;&lt;P&gt;Actually, all my agents were running python 2.6:&lt;/P&gt;&lt;PRE&gt;&amp;gt;&amp;gt; ambari-agent restart
Restarting ambari-agent
Verifying Python version compatibility...
Using python  /usr/bin/python2.6
&lt;/PRE&gt;&lt;P&gt;Except the agent running on the ambari-server it was running python 2.7 for an unknow reason ! (I may have accidentally installed it before on that node ). A known workaround is to inject PYTHON=/usr/bin/python2.6 into /var/lib/ambari-agent/ambari-env.sh.&lt;/P&gt;&lt;P&gt; This problem is solved :).  &lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 04:33:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94270#M7451</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2015-12-28T04:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94271#M7452</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; / &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As suggested i tried ambari-setup with -j option . Below are details ::&lt;/P&gt;&lt;P&gt;[root@dehdteste7778b54apse01 ~]# ls -l /etc/alternatives/java &lt;/P&gt;&lt;P&gt;lrwxrwxrwx 1 root root 26 Dec 28 13:20 /etc/alternatives/java -&amp;gt; /usr/lib/jvm/java/bin/java&lt;/P&gt;&lt;P&gt;
[root@dehdteste7778b54apse01 ~]# alternatives --display java&lt;/P&gt;&lt;P&gt;
java - status is auto.&lt;/P&gt;&lt;P&gt;
 link currently points to /usr/lib/jvm/java/bin/java &lt;/P&gt;&lt;P&gt;/usr/lib/jvm/java/bin/java - priority 1062 &lt;/P&gt;&lt;P&gt;Current `best' version is /usr/lib/jvm/java/bin/java.&lt;/P&gt;&lt;P&gt;
[root@dehdteste7778b54apse01 ~]# java -version&lt;/P&gt;&lt;P&gt;
java version "1.7.0_67"&lt;/P&gt;&lt;P&gt;
Java(TM) SE Runtime Environment (build 1.7.0_67-b01) &lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode) &lt;/P&gt;&lt;P&gt;[root@dehdteste7778b54apse01 ~]# cat /etc/ambari-server/conf/ambari.properties | grep -i java.home
java.home=/usr/lib/jvm/java&lt;/P&gt;&lt;P&gt;But still i same error is there. &lt;/P&gt;&lt;P&gt;In ambari-server.log , i can see ::&lt;/P&gt;&lt;P&gt;WARN [qtp-ambari-agent-69] nio:720 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca&lt;/P&gt;&lt;P&gt;In ambari-agent.log ::&lt;/P&gt;&lt;P&gt;INFO 2015-12-28 13:37:52,395 NetUtil.py:59 - Connecting to &lt;A href="https://dehdteste7778b54apse01.in.bsbportal.com:8440/ca"&gt;https://dehdteste7778b54apse01.in.domain.com:8...&lt;/A&gt;
ERROR 2015-12-28 13:37:52,460 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
ERROR 2015-12-28 13:37:52,460 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 16:07:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94271#M7452</guid>
      <dc:creator>gaurav_sharma</dc:creator>
      <dc:date>2015-12-28T16:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94272#M7453</link>
      <description>&lt;P&gt;I am still not very clearly what's the resolve?&lt;/P&gt;&lt;P&gt;rpm -qa | grep java&lt;/P&gt;&lt;P&gt;tzdata-java-2014g-1.el6.noarch&lt;/P&gt;&lt;P&gt;java-1.6.0-openjdk-1.6.0.0-11.1.13.4.el6.x86_64&lt;/P&gt;&lt;P&gt;java-1.7.0-openjdk-1.7.0.95-2.6.4.0.el6_7.x86_64&lt;/P&gt;&lt;P&gt;alternatives --display java&lt;/P&gt;&lt;P&gt;java - status is auto.
Current `best' version is /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java.&lt;/P&gt;&lt;P&gt;and the python problem &lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; said ,it still the same ....&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 11:19:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94272#M7453</guid>
      <dc:creator>darkz1984</dc:creator>
      <dc:date>2016-03-24T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94273#M7454</link>
      <description>&lt;P&gt;I use openjdk 1.8,then the problem is resolved.&lt;/P&gt;&lt;P&gt;So, I think is just the java version problem...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 10:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94273#M7454</guid>
      <dc:creator>darkz1984</dc:creator>
      <dc:date>2016-03-29T10:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Openssl error upon host registration</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94274#M7455</link>
      <description>&lt;P&gt;This worked for me.  Was using openJDK v1.8.  Tried a bunch of things, but the only thing that worked was installing the Oracle JDK on Ambari and all nodes.  You may have to use the "alternative --config java" to activate the correct JDK even when installing via RPM.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:59:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Openssl-error-upon-host-registration/m-p/94274#M7455</guid>
      <dc:creator>neil_hauge</dc:creator>
      <dc:date>2016-08-12T07:59:39Z</dc:date>
    </item>
  </channel>
</rss>

