博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verif
阅读量:5925 次
发布时间:2019-06-19

本文共 1113 字,大约阅读时间需要 3 分钟。

转载地址:-

When attempting to register Ambari Agents during initial cluster creation, or if hosts fail to appear as online in Ambari following an update, you may see the following error in Ambari's UI, or in the ambari-agent logs:

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

This is due to a defect in newer releases of Python 2.7.5 which causes certificate validation to fail regardless of certificate status. This is outlined further @ .

As a workaround, we strongly recommend that Python not be updated to a version newer than python-2.7.5-48.el*.x86_64 (or downgraded to that version, if newer).

You can verify your release through python -V or python -c 'import sys; print(sys.version)' or yum list installed |grep python. You'll want to confirm that the major version is 2.7.5, the build is from Feb 2017 or older, and the full release is 2.7.5-48 or older.

Alternatively, you can disable certificate verification in Python if you wish to remain on a newer version:

sudo sed -i 's/^verify.*/verify=disable/' /etc/python/cert-verification.cfg

转载于:https://blog.51cto.com/476946/2057137

你可能感兴趣的文章
CSS 特殊性、继承与层叠
查看>>
Java环境变量配置
查看>>
模块"XX.dll"已加载,但对DllRegisterServer的调用失败
查看>>
linux centos7 root密码重置
查看>>
注意指针修饰符的准确含义
查看>>
OpenFileDialog的简单使用
查看>>
环形队列
查看>>
成熟sql 分页存储过程(UP_General_SelectByWhere)
查看>>
设置状态栏和标题栏的样式
查看>>
C++中的对象数组
查看>>
使用gulp-connect实现web服务器
查看>>
Zabbix RCE with API JSON-RPC
查看>>
适配器模式
查看>>
杭电Problem 1872 稳定排序
查看>>
js时间戳转成日期格式
查看>>
SRM 440(1-250pt, 1-500pt)
查看>>
位(bit)与字节(byte)
查看>>
音乐分类
查看>>
web第6次作业position
查看>>
详述 IntelliJ IDEA 插件的安装及使用方法
查看>>