curl#60 The certificate issuer‘s certificate has expired错误的解决方法

curl: (60) Peer‘s Certificate issuer is not recognized 可用通过浏览器访问接口,但是通过curl返回Peer's Certificate issuer is not recognized。 阅读详情

故障现象

[root@master ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
Retrieving https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
curl: (60) The certificate issuer's certificate has expired.  Check your system date and time.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
error: skipping https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm - transfer failed

故障原因

证书失效

解决方法

更新证书

yum install ca-certificates -y
update-ca-trust extract
curl: (60) Peer‘s Certificate issuer is not recognized - 从协议转换到证书验证的深度解析 本文深度解析了curl报错`Peer's Certificate issuer is not recognized`的根源,揭示了HTTPS请求在传输过程中被降级为HTTP的常见问题。通过分析HTTPS握手流程、证书验证机制,提供Nginx日志分析、代码检查等诊断方法,并给出全链路保持HTTPS协议的解决方案,帮助开发者有效解决SSL证书验证失败问题。 阅读详情

相关推荐

泛微OA表单开发实战:如何用JavaScript动态控制明细表的必填与可编辑属性

本文详细介绍了如何在泛微OA系统中使用JavaScript动态控制明细表字段的必填与可编辑属性。通过主表字段变更事件监听和明细表字段属性批量修改,实现智能化的表单交互,提升用户体验和系统灵活性。文章深入解析了关键API的使用方法,并提供了实战代码示例和最佳实践。

weixin_30955617的博客 545

证书颁发者证书过期 curl#60 The certificate issuer‘s certificate has expired

原因 国外论坛说了原因大致是:Let’s Encrypt 's — 一个免费、自动化和开放的证书颁发机构,根证书“DST Root CA X3”已于2021 年 9 月 30 日到期。 对于大多数实际用途而言,这无关紧要,因为 Let’s Encrypt 已经将其证书迁移到“ISRG Root X1”。它与新系统上的 ISRG Root X1 证书链接,而旧系统上的 ISRG Root X1 与 DST Root CA X3 交叉签名。但是,DST Root CA X3 到期会影响依赖与操作系统捆绑的旧可信

weixin_47103265的博客 7743

CURL请求证书错误:curl: (60) Peer's Certificate issuer is not recognized

证书错误 当请求某个网址的时候出现如下所示的证书错误 [root@clink-z1-monitor1 ~]# curl -H "Authorization: Bearer TOKEN值" https://IP地址:端口/api/dashboards/home curl: (60) Peer's Certificate issuer is not recogni...

weixin_40006394的博客 2万+

涨姿势|小众建模软件Make human,MakeClothes插件使用详解教程(2)

衣服可以从头开始建模,或者通过改变人体网格或由MakeClothes工具提供的“服装助手”(见下文)来建模。在设计和建模一件衣物时,应该记住两个限制。首先,将服装网格映射到人体网格的算法要求服装网格完全由四面体组成。其次,知道MakeClothes每件衣服只支持一种材料是很重要的。 完成MakeClothes工作流程后,您的HOME / makehuman / v1 / data / clothes中的工具将创建一个新文件夹。该文件夹将采用用户为服装项目提供的唯一名称。该文件夹将填充必要的资源,以使该项目在

Crazy_in_3Dmax的博客 1874

AI 编程助手新玩法:用 Claude Code 一键调用国产大模型(DeepSeek/Kimi/GLM 对比)

本文深入评测了Claude Code与三大国产大模型(DeepSeek、Kimi、智谱GLM)的集成效果,详细对比了它们在代码生成质量、响应速度和特殊场景支持度等方面的差异。通过实测数据和实战技巧,帮助开发者选择最适合的AI编程助手组合,提升开发效率。

weixin_30955617的博客 487

The certificate issuer‘s certificate has expired. Check your system date and time.“

Let's Encrypt证书过期

每天都要开心呀(#^.^#) 3318

IBM AC922 8335-GTW 安装linux,CentOS,ubuntu,RHEL各种坑

AC922

u011970286的专栏 890

curl#60 - “Peer‘s Certificate has expired.

【代码】curl#60 - "Peer's Certificate has expired.

青梅煮酒 2207

WinCC动态选择报警记录案例

本例中需要确认查询的时间段以及查询的关键字,然后通过一个按钮来执行报警数据查询脚本,并把查询出的结果加载到当前报警控件中。<本例中数据查询脚本的思路是根据选项组所选定的参数加载相应的归档变量到在线趋势控件,根据设定的查询时间范围设定控件时间轴的开始时间及结束时间。本文以 WinCC V8.0为例,介绍如何动态的查询WinCC报警记录,包括关键字查询/时间&关键字查询,如图1所示。<在WinCC变量管理中创建不同的变量组,并在变量组下创建相应的变量,如图2 所示(下图并非实际变量值)。

weixin_45072604的博客 2708

【Bluedroid】BLE连接过程详解

Bluedroid BLE的链接过程包括扫描、连接和通信三个基本步骤。通过这些步骤,中央设备和外围设备之间可以建立起稳定、高效的通信链路,实现数据传输和控制操作。

byte轻骑兵的技术小窝 1875

CentOS 7报错:curl#60 - “Peer‘s Certificate has expired.“

我的报错是在安装consul报错的 sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo 报错信息: curl#60 - “Peer’s Certificate has expired.” Trying other mirror. 原因: 可能是由于服务器时间不正确导致https证书认证错误 更新服务器时间即可 解决办法(时间自定义): date -s “2021-06-20 00:

danepk的博客 1749

android 9.0Settings休眠时间项(屏幕超时)添加永不休眠功能

在9.0的系统产品开发中,系统中默认息屏时间为1分钟,可以通过在Setting中的息屏时间选项设置对应的息屏时间,但是在开发平板类的产品中,需要实现永不休眠的功能,所以需要在Settings中的息屏时间中添加永不休眠时间这一项来实现这个功能,接下来看息屏时间的相关功能,来添加这个功能

安卓兼职framework和app工程师的博客 2055

GPG key retrieval failed: [Errno 14] curl#60 - “Peer‘s Certificate has expired.“

GPG key retrieval failed: [Errno 14] curl#60 - "Peer's Certificate has expired."

枫的博客 618

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

[Errno 14] curl#60 - “Peer‘s Certificate has expired.“yum-config-manager --add-repo或者curl证书过期问题解决

[Errno 14] curl#60 - "Peer's Certificate has expired curl或者repo证书过期的问题解决

u011285281的博客 1296

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

CentOS 7报错:curl#60 - "Peer's Certificate has expired."

报错信息: https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate has expired." Trying other mirror. 原因: 可能是由于服务器时间不正确导致https证书认证错误 更新服...

vkingnew 的技术博客 1万+

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

安装docker时,设置阿里云镜像源时,报错[Errno 14] curl#60 - “Peer‘s Certificate has expired.“

安装docker,设置阿里云镜像源时Could not fetch/save url https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#60 - “Peer’s Certificate has expired.” 报错如下图: 解决方法: 没有做时间同步,只需做时间同步, ntpdate ntp1.aliyun

jiaoshu__的博客 5979

解决curl: (60) Peer‘s Certificate issuer is not recognized.错误

http://curl.haxx.se/docs/sslcerts.html

markvivv随笔 3424

更新yum源时遇到报错:repomd.xml: [Errno 14] curl#60 - “The certificate issuer‘s certificate has expired...

1.更新 yum源时遇到报错:repomd.xml: [Errno 14] curl#60 - "The certificate issuer's certificate has expired. Check your system date and time 解决方法: 2. 用yum命令安装软件时报错: 解决方案

sulia1234567890的博客 6209

Linux证书问题 curl: (60) The certificate issuer‘s certificate has expired.

问题说明 在CentOS7上安装MariaDB,需要导入MariaDB的key,结果报错如下: rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB 解决方案 yum install ca-certificates -y update-ca-trust extract

HUMM 879

curl: (60) Peer‘s Certificate issuer is not recognized.

1.linux 访问 https 证书问题 [root@kube-node2 ~]# curl https://192.168.0.200:8443 curl: (60) Peer's Certificate issuer is not recognized. More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a ".

在知识的海洋里遨游 2632

curl命令忽略不受信任的https安全限制

用curl命令没有得到返回,还报了个提示: curl: (60) Issuer certificate is invalid. More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of...

yang_yulin_的博客 1万+

解决cURL error 60 Peer‘s Certificate issuer is not recognized.问题

有时更新了SSL证书后,在浏览器端正常访问,但在服务端,比如PHP不能正常请求该接口,报错如下: cURL error 60: Peer's Certificate issuer is not recognized. 如果使用PHP的file_get_contents函数,报错如下: PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL

小小郭 3万+

“The certificate issuer‘s certificate has expired. Check your system date and time.“

postgresql 安装报错

xiangweideyu的博客 591

宝塔面板6.8 php curl超时,宝塔面板计划任务定时访问https内容出现curl: (60) Peer’s Certificate has expired.的可能原因以及处理流程和解决办法...

因为使用cloudreve需要设置一个定时任务,用来定时完成任务的处理。但是,今天访问后台,总是提示计划任务没有执行。但是我去宝塔面板看了一下,计划任务确实已经设置。于是查看执行日志,发现了这句话。curl: (60) Peer's Certificate has expired.,日志内容如下。curl: (60) Peer's Certificate has expired.More deta...

weixin_33901449的博客 4011

One of the configured repositories failed 解决Centos 7.4 网易镜像 和阿里云yum源镜像无法更新错误

mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo_bak 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most oft...

五菱包工头 3431
上一篇: CentOS7 安装 Zabbix5.0 安装步骤
下一篇: MySQL5.6 安装 Zabbix5.0异常记录
mighty13
博客等级 码龄23年 728粉丝 438原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值