码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-01-11 15:59:42      阅读:792      评论:0      收藏:0      [点我收藏+]

标签:rust   app   connect   iss   code   The   apt   debian   stream   

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.

标签:rust   app   connect   iss   code   The   apt   debian   stream   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!