Hi Everyone,

I'm catching an error using this command. The download is failing:

/usr/bin/wget -q --debug -O ncurses-6.1.tar.gz
--ca-certificate=/home/jwalton/.build-scripts/cacert/lets-encrypt-roots.pem
https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz

The output of the command is:

Setting --output-document (outputdocument) to ncurses-6.1.tar.gz
Setting --output-document (outputdocument) to ncurses-6.1.tar.gz
Setting --ca-certificate (cacertificate) to
/home/jwalton/.build-scripts/cacert/lets-encrypt-roots.pem
Setting --ca-certificate (cacertificate) to
/home/jwalton/.build-scripts/cacert/lets-encrypt-roots.pem
DEBUG output created by Wget 1.19.4 on linux-gnu.

Reading HSTS entries from /home/jwalton/.wget-hsts
URI encoding = ‘UTF-8’
Caching ftp.gnu.org => 209.51.188.20 2001:470:142:3::b
Created socket 4.
Releasing 0x000055b24d8705d0 (new refcount 1).
Initiating SSL handshake.
Handshake successful; connected socket 4 to SSL handle 0x000055b24d877040
certificate:
  subject: CN=ftp.gnu.org
  issuer:  CN=R3,O=Let's Encrypt,C=US
Closed 4/SSL 0x000055b24d877040
+ echo 'Failed to download Ncurses'

I'm not sure what the error is based on the debug output.

/usr/bin/wget is Ubuntu's Wget. I believe it uses GnuTLS for the
backend, not OpenSSL backend.

Why is Wget failing the download?

Thanks in advance.

Reply via email to