【yum】Peer cert cannot be verified or peer cert invalid
yum 装包时,提示 [Errno 14] Peer cert cannot be verified or peer cert invalid
# cat /etc/yum.repos.d/my-repo.repo
###################################
[my-repo]
name=repo name
baseurl=https://xx.xx.xx.xx
enabled=1
gpgcheck=1
gpgkey=https:///path/to/gpgkey
######################################
原因:yum server 的ca证书不被认可
解决方案:Adding “sslverify=false” in the ‘/etc/yum.conf’ file。
参考
How to import self signed certificate in redhat
https://stackoverflow.com/questions/22509271/import-self-signed-certificate-in-redhat
How to install yum repository key with ansible?
https://stackoverflow.com/questions/38327406/how-to-install-yum-repository-key-with-ansible?r=SearchResults&s=6|33.3947
Peer cert cannot be verified or peer cert invalid self signed SSL
https://stackoverflow.com/questions/52604849/peer-cert-cannot-be-verified-or-peer-cert-invalid-self-signed-ssl
【yum】Peer cert cannot be verified or peer cert invalid相关推荐
- 阿里云虚拟机【yum】命令出现错误
我们从阿里云网站上申请一台[Centos]虚拟机,在使用[yum]命令出现以下错误 [第一步]检查DNS服务配置通过 vi /etc/resolv.conf 在文件末尾加上 nameserver = ...
- 【yum】error: unpacking of archive failed on file
用yum下载mysql-community*时报错 看到这篇文章时 ,猜想可能这个包的哈希值不对劲,所以从官方重新下了一遍包,结果就好了. 网站在这里,通过搜索你也可以找到其他包.
- 【yum】yum “Status code: 404 for http:”错误
错误: [root@localhost ~]# yum install redis Failed to set locale, defaulting to C.UTF-8 CentOS-mycompa ...
- 【yum】常见的yum命令
命令: #查看软件包yum list all ##列出yum源仓库里面的所有可用的安装包 yum list installed ##列出所有已经安装的安装包 yum list available ## ...
- 【yum】yum的使用
Yum官网 Yum的缓存 Yum仓库 Yum命令 Yum插件 yum的缓存 通过缓存可以提升我们环境的搭建效率,直接把原来缓存好的安装包数据放到新环境,省去了几个G的下载,甚至,有些时候客户现场不能联 ...
- 【YUM】第三方yum源rpmforge
rpmforge是Dag.Dries 和其它软件包的组合.它们为 CentOS 提供了超过10000个软件包.rpmforge不是redhat Linux产品或 CentOS 的组成部分,但它是为这些 ...
- linux安装软件程序(Debian【aptitude】、Red Hat系统【yum】、源代码安装)————附带详细方法
安装软件程序 文章目录 安装软件程序 0 总结 1 包管理基础 2 基于Debian 的系统 2.1 使用`aptitude` 3 基于Red Hat 的系统 3.1 使用 4 源码安装 0 总结 l ...
- 【机器学习】解决机器学习中OneVsRestClassifier的网格调参Invalid parameter max_depth for estimator OneVsRestClassifier
简单模型网格调参 from xgboost import XGBClassifier from sklearn.multiclass import OneVsRestClassifier from s ...
- 【Hive】Hive查询报错 Malformed ORC file、Invalid postscript、serious problem
报错1: [2020-09-01 20:27:48] hive:Failed with exception java.io.IOException:java.lang.RuntimeException ...
- 【SSM】nested exception is org.apache.ibatis.binding.BindingException: Invalid boun原因总结
今天在整合SSM框架时,遇到如下问题,尝试了网上很多方法,终于成功解决,相信以下方法可以解决大多数人的问题. 排查方法如下: 1.mapper接口和mapper.xml是否在同一个包(package) ...
最新文章
- 必须了解的 MySQL 三大日志
- 人工智能历经风雨二十载 AI专用芯片成蓝海
- (*长期更新)软考网络工程师学习笔记——Section 17 交换技术原理
- 关于完美拖拽的问题三
- php 递归格式化数组,利用php递归实现无限分类 格式化数组的详解
- Google 插件总览
- 基于观察者模式——创建显示天气数据
- Crystal Report制作使用
- 3.字符串(string)
- 极其艰难地下了决心建立博客虽然没有很好的理由或者仅仅是因为觉得自己的确要改变了......
- JDBC的使用(msql);
- 【数字信号调制】基于matlab GUI数字信号调制仿真系统【含Matlab源码 336期】
- YUV 和 YUV420
- SQLserver数据库被置疑了(“可疑”)状态下怎么处理?
- c语言的表示指数用什么符号,c语言的指数符号
- 推荐一些北京的景点(1简单版)
- Grid++用程序定义报表模板(官方例子)
- 电场强度 高斯定理 习题
- Rust中的面向对象编程Rusty OOP
- STM32显示软件取模图片