Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Openssl error upon host registration

Solved Go to solution

Re: Openssl error upon host registration

Expert Contributor

i have faced the same issue, for this Java up-grade is not required.

Just intall the openssl package and run installation host registration went fine.

1) from vm connect to the internet

2) Install the opnssl package

#yum install openssl

if it installed fine, you can proceed with host Registration .

it worked for me.

Re: Openssl error upon host registration

New Contributor

I am facing below issue even after upgrading ambari-server,ambari agent, openssl,rebooting ambari,ssh

ERROR 2016-09-20 09:48:52,494 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
ERROR 2016-09-20 09:48:52,495 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2016-09-20 09:48:52,495 NetUtil.py:105 - Server at https://localhost:8440 is not reachable, sleeping for 10 seconds...
', None)

Connection to localhost closed.
SSH command execution finished
host=localhost, exitcode=0
Command end time 2016-09-20 09:48:54

Registering with the server...
Registration with the server failed.
Can anyone pls help me?
I am using ubuntu 16 OS





Re: Openssl error upon host registration

New Contributor

In our case the problem was that the other nodes have OpenJDK instead of oracle's, installing Oracle JDK on those nodes solves the problem

Re: Openssl error upon host registration

New Contributor

In our case the problem was that the other nodes have OpenJDK instead of oracle's, installing Oracle JDK on those nodes solves the problem

Re: Openssl error upon host registration

Contributor

I've been stuck with this problem for a day and I've tried everything on this post, but nothing works.

However, the link from this post solved my problem so I thought I should link it to here.

https://community.hortonworks.com/questions/121978/openssl-compatibility.html?childToView=138080#ans...

Basically, disable certificate verification on all nodes

vi /etc/python/cert-verification.cfg
[https]
verify=disable

good luck.

Highlighted

Re: Openssl error upon host registration

New Contributor

[ RESOLVED ]

Gone through same issue only when we are using oVirt Virtualization For our cluster deployment.

Only following solution resolved the problem (Thanks to @bing lv and @Deven Fan:

By adding below config in [security] section of

vi /etc/ambari-agent/conf/ambari-agent.ini
force_https_protocol=PROTOCOL_TLSv1_2
vi /etc/python/cert-verification.cfg 
[https] 
verify=disable

Re: Openssl error upon host registration

New Contributor

Thanks!! These changes should be performed on all hosts

Re: Openssl error upon host registration

New Contributor

Thanks Prashant

Re: Openssl error upon host registration

New Contributor

Perfect solution, it works

Re: Openssl error upon host registration

New Contributor

Hello

I've just add these two line below under security section and it works
[security]
ssl_verify_cert=0
force_https_protocol=PROTOCOL_TLSv1_2