Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.

阅读: 评论:0

Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.

Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.

  • 1. 问题描述
  • 2. 解决方式

1. 问题描述

|组件|版本|备注|
|Ubuntu Docker Image|20.04||

使用镜像时无论是镜像默认源还是清华源、阿里源都报错

Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification

google了半天,该试的方法都试了,最后想到直接去 stackoverflow 查下,第一条就是

Error by trying installing docker repository on linux ubuntu 18.04 LTS

计算机使用类常规问题还是问stackoverflow要比google来的快

2. 解决方式

touch /etc/f.f 
&& echo >>/etc/f.f "Acquire { https::Verify-Peer false }"

原因还是网络策略问题,前端可能有代理之类的东西对https进行解密和重新加密。

本文发布于:2024-02-04 09:08:57,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170703773354243.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

下一篇:Ubuntu系统 apt
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23