Linux下wget出现ERROR: cannot verify Issued certificate has expire

大家好,我是「Bigder」~

Linux下使用wget下载tomcat「wget https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.78/bin/apache-tomcat-8.5.78.tar.gz」

出现下面的错误提示,不能下载:

wget https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.78/bin/apache-tomcat-8.5.78.tar.gz--2022-04-06 21:54:57--  https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.78/bin/apache-tomcat-8.5.78.tar.gzResolving dlcdn.apache.org (dlcdn.apache.org)... 191.101.2.132, 2a04:4e42::644Connecting to dlcdn.apache.org (dlcdn.apache.org)|191.101.2.132|:443... connected.ERROR: cannot verify dlcdn.apache.org's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:Issued certificate has expired.To connect to dlcdn.apache.org insecurely, use `--no-check-certificate'.

解决方法:

wget带参数:--no-check-certificate

「wget --no-check-certificate https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.78/bin/apache-tomcat-8.5.78.tar.gz」

It'ok


以上,

Bigder

推荐阅读

Linux安装JDK-java: command not found&cannot execute binary file

小改动当天转测就要上线,要不要写用例?

测试环境,如何维护才最高效的?

Showcase通过了才算正式提测

轮流测试一个项目、出现bug到底是谁的责任

外包去还是不去

Linux性能压测命令用ab- command not found、plugins: fastestmirror

已经很努力,但上司总让我提升能力,还数落我拖后腿,怎么办?

Linux关闭防火墙-iptables|iptable.service could not be found

你可能感兴趣的:(Linux下wget出现ERROR: cannot verify Issued certificate has expire)