wget Error: ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”

Error Message:

--2022-06-20 16:06:37--  https://nih.at/libzip/libzip-1.2.0.tar.gz
Resolving nih.at... 5.2.73.210, 2a04:52c0:101:2e6::de6c
Connecting to nih.at|5.2.73.210|:443... connected.
ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let's Encrypt/CN=R3”:
  Issued certificate has expired.
To connect to nih.at insecurely, use ‘--no-check-certificate’

 

Solution:

Step 1:
It is recommended to run this command first (if it reports an error you can skip it and try running step 2 directly).

sudo yum install -y ca-certificates

Step 2:
Replace the previous wget https://xxxxx command with the following command, –no-check-certificate is the last line of the error message
wget –no-check-certificate https://xxxxx

Perfect solution

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *