ambari openssl 版本问题

2019-07-13

ambari openssl 版本问题:SSLError: Failed to connect. Please check openssl library versions.

1.检查os openssl是否是最新版本,若不是,请更新。

1
2
3
4
5
6
7
8
9
[root@node-1 ~]# rpm -qa | grep openssl 
openssl-1.0.1e-57.el6.x86_64
openssl-devel-1.0.1e-57.el6.x86_64

更新openssl
[root@node-1 ~]# yum update openssl

重启ambari-server
[root@node-1 ~]# ambari-server restart

2.若不行,修改/etc/python/cert-verification.cfg配置文件

1
2
3
4
5
verify=disable
修改/etc/ambari-agent/conf/ambari-agent.ini,在[security]添加下面内容

force_https_protocol=PROTOCOL_TLSv1_2
重启ambari-agent

3.重启ambari

1
[root@node-1 ~]#  ambari-agent restart