Gnutls has been a little buggy off late with lots of serios bugs that have gone unfixed for a while.
This could be just one of those bugs. To verify, please try connecting with gnutls-cli and openssl s_client on the terminal to see if the respective TLS libraries can handle the connection well. You could also share the certificate file you're using with me and I can try out a few things on my own On January 7, 2021 5:15:25 PM GMT+01:00, Jeffrey Walton <[email protected]> wrote: >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. > > -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
