长风1959

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  27 随笔 :: 0 文章 :: 0 评论 :: 7632 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

更新yum源遇到SSL证书过期的报错

复制代码
[root@ESNode01 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras pgdg-common pgdg10 pgdg11 pgdg12 pgdg13 pgdg14 updates
Cleaning up everything
Cleaning up list of fastest mirrors
[root@ESNode01 ~]# yum makecache
Loaded plugins: fastestmirror
base                                                                                                  | 3.6 kB  00:00:00     
extras                                                                                                | 2.9 kB  00:00:00     
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "The certificate issuer's certificate has expired. Check your system date and time."
Trying other mirror.
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
Please collect information about the specific failure that occurs in your environment,
using the instructions in: https://access.redhat.com/solutions/1527033 and create a bug on https://bugs.centos.org/
复制代码

解决方法

[root@ESNode01 ~]# vim /etc/yum.conf 

sslverify=false

增加该配置,关闭ssl验证

posted on   长风1959  阅读(1939)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
点击右上角即可分享
微信分享提示