首页 > 其他 > 详细

debian wget 报ERROR: The certificate of ‘xxx’ is not trusted.

时间:2019-01-11 15:38:37      阅读:228      评论:0      收藏:0      [点我收藏+]
1 # wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
2 --2019-01-11 15:04:41-- https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
3 Resolving www.python.org (www.python.org)... 151.101.0.223, 151.101.64.223, 151.101.128.223, ...
4 Connecting to www.python.org (www.python.org)|151.101.0.223|:443... connected.
5 ERROR: The certificate of ‘www.python.org’ is not trusted.
6 ERROR: The certificate of ‘www.python.org’ hasn‘t got a known issuer.

 

第一种解决方式:

 1 # wget --no-check-certificate https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
 2 --2019-01-11 15:05:21-- https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
 3 Resolving www.python.org (www.python.org)... 151.101.0.223, 151.101.64.223, 151.101.128.223, ...
 4 Connecting to www.python.org (www.python.org)|151.101.0.223|:443... connected.
 5 WARNING: The certificate of ‘www.python.org’ is not trusted.
 6 WARNING: The certificate of ‘www.python.org’ hasn‘t got a known issuer.
 7 HTTP request sent, awaiting response... 200 OK
 8 Length: 17212420 (16M) [application/octet-stream]
 9 Saving to: ‘Python-3.6.8.tar.xz’
10 
11 Python-3.6.8.tar.xz 100%[=======================================================================================================>] 16.42M 85.4KB/s in 97s
12 
13 2019-01-11 15:06:58 (173 KB/s) - ‘Python-3.6.8.tar.xz’ saved [17212420/17212420]

 

 

第二种解决方式:

 1 # apt install -y ca-certificates  

 

debian wget 报ERROR: The certificate of ‘xxx’ is not trusted.

原文:https://www.cnblogs.com/lmx1002/p/10255273.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!