Tag Archives: wget

How to Solve Let’s Encrypt certificate wget Error

Recently found a strange problem with website use   The free certificate of let’s encrypt is normal when the browser accesses, but an error is reported when WGet. The error information is as follows:

wget https://www.example.com

--2021-11-16 13:00:42--  https://www.example.com/
Resolving www.example.com (www.example.com)... 47.91.21.201
Connecting to www.example.com (www.example.com)|47.21.17.201|:443... connected.
ERROR: cannot verify www.example.com's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
  Issued certificate has expired.
To connect to www.example.com insecurely, use `--no-check-certificate'.

After a wave of online search, I didn’t find any effective solutions. The two methods are effective.

1. Install software

yum install -y ca-certificates

2. Replacement of issuing authority

Because I use the certificate issued by acme.sh, I use zerossl server by default when issuing the certificate, and I specify it specifically   Let’s encrypt directory server, so just remove the specified server here. Use zereossl as the issuing authority.

The solution to the problem of installing WGet in Linux

Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>

When using the WGet command to report an error certificate common name ‘xxx’ doesn’t match request de host name, our general solution is to find the download address, but sometimes an error occurs when changing the address

wget http://www.monkey.org/~provos/libevent-1.2.tar.gz

Report the following error:

error:certificate common name “monkey.org” doesn’t match requested host name ” www.monkey.org “

The curl command can be used interchangeably

curl -O -L http://www.monkey.org/~provos/libevent-1.2.tar.gz

Can solve the reason that cannot download

Two solutions to [Linux] WGet: command not found

speed

following:

http://mirrors.163.com/centos/6.8/os/x86 64/packages/wget-1.12-8.el6.x86 64.rpm I don’t know.

implement

rpm -ivh wget-1.12-8.el6.x86_64.rpm

2. Yum install

yum -y install wget