当前位置: 首页 > news >正文

[SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verif

转载地址:https://interset.zendesk.com/hc/en-us/articles/115011874548--SSL-CERTIFICATE-VERIFY-FAILED-certificate-verify-failed-ssl-c-579-
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 @ https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html.

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

相关文章:

  • 单调、加班、血汗工厂,被夸大的富士康背后真相到底是什么?
  • MySQL主从配置
  • 属性动画
  • 部署redis cluster
  • 你知道升级 tomcat 8.5.x后cookie有什么变化吗?
  • kaggle之数据分析从业者用户画像分析
  • 如何添加自定义脚本到开机自启动
  • Linux学习之路-Linux-循环 for、while【10】---20171223
  • 函数式 Java 到函数式 Kotlin 的转换
  • 23.2. 基础操作
  • Kubernetes系统架构简介[转]
  • Jenkins+Jmeter持续集成笔记(三:集成到Jenkins)
  • [译]使用 Siesta 处理 Swift 网络请求
  • 33.3. nanomsg
  • Salesforce收购数据库创业公司Attic Labs
  • 《深入 React 技术栈》
  • 【跃迁之路】【641天】程序员高效学习方法论探索系列(实验阶段398-2018.11.14)...
  • 3.7、@ResponseBody 和 @RestController
  • echarts的各种常用效果展示
  • input实现文字超出省略号功能
  • Java Agent 学习笔记
  • Making An Indicator With Pure CSS
  • Travix是如何部署应用程序到Kubernetes上的
  • 案例分享〡三拾众筹持续交付开发流程支撑创新业务
  • 后端_MYSQL
  • 记录一下第一次使用npm
  • 简析gRPC client 连接管理
  • 三分钟教你同步 Visual Studio Code 设置
  • 删除表内多余的重复数据
  • 优化 Vue 项目编译文件大小
  • 湖北分布式智能数据采集方法有哪些?
  • ​决定德拉瓦州地区版图的关键历史事件
  • ​软考-高级-系统架构设计师教程(清华第2版)【第9章 软件可靠性基础知识(P320~344)-思维导图】​
  • ​一文看懂数据清洗:缺失值、异常值和重复值的处理
  • $con= MySQL有关填空题_2015年计算机二级考试《MySQL》提高练习题(10)
  • (¥1011)-(一千零一拾一元整)输出
  • (4)logging(日志模块)
  • (6)添加vue-cookie
  • (Java数据结构)ArrayList
  • (TOJ2804)Even? Odd?
  • (六) ES6 新特性 —— 迭代器(iterator)
  • (六)什么是Vite——热更新时vite、webpack做了什么
  • (一)appium-desktop定位元素原理
  • (一)Java算法:二分查找
  • (一)UDP基本编程步骤
  • .NET CF命令行调试器MDbg入门(一)
  • .NET Core 2.1路线图
  • .NET 将多个程序集合并成单一程序集的 4+3 种方法
  • .NET 事件模型教程(二)
  • .net实现客户区延伸至至非客户区
  • .pyc文件还原.py文件_Python什么情况下会生成pyc文件?
  • ??eclipse的安装配置问题!??
  • @NoArgsConstructor和@AllArgsConstructor,@Builder
  • @WebServiceClient注解,wsdlLocation 可配置
  • [ solr入门 ] - 利用solrJ进行检索