bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Docs missing info on ca_directory and ca_certfile


From: Tim Rühsen
Subject: Re: [Bug-wget] Docs missing info on ca_directory and ca_certfile
Date: Sat, 29 Dec 2018 17:43:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 29.12.18 05:00, Jeffrey Walton wrote:
> On Fri, Dec 28, 2018 at 10:07 PM Jeffrey Walton <address@hidden> wrote:
>>
>> The sample wgetrc is missing info on ca_directory . Also see
>> https://www.gnu.org/software/wget/manual/html_node/Sample-Wgetrc.html.
>>
>> I also cannot figure out how to tell Wget to use cacert.pem. I've
>> tried ca_cert, ca_certs and ca_certfile but it produces:
>>
>>     wget: Unknown command ‘ca_file’ in /opt/bootstrap/etc/wgetrc at line 141
>>     Parsing system wgetrc file failed.
> 
> My bad... I found it. openssl.c used "opt.ca_cert", so I was trying to
> use the same in rc file. The correct name is ca_certificate.

There are some inconsistencies with the naming in rc files and on the
command line. We do not have this any more with wget2.


> Tim, you may want this when Wget is built against OpenSSL. It makes
> Wget/OpenSSL behave like Wget/GnuTLS:
> https://github.com/noloader/Build-Scripts/blob/master/bootstrap/wget.patch

Thanks for the pointer.

On L20 the second param to SSL_CTX_load_verify_locations can be NULL.

I personally don't care much for OpenSSL - I put Ander on CC.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]