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

Posted lmx1002

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debian wget 报ERROR: The certificate of ‘xxx’ is not trusted.相关的知识,希望对你有一定的参考价值。

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.的主要内容,如果未能解决你的问题,请参考以下文章

FATAL ERROR: please install th......Data::Dumper(未安装autoconf库)

python安装提示No module named setuptools,wget提示ERROR 403: SSL is required

yum安装报错“Error: xz compression not available”

debian整站下载工具

debian整站下载工具

十二RabbitMQ 报错汇总