I'm trying to specify a specific CA file for use with a proxy. When I use wget --ca-certificate=file.cer, it works fine. But when I try to put ca_certificate = file.cer in $HOME/.wgetrc, it doesn't work and I get the following error:
Unable to locally verify the issuer's authority.
The docs say that these should both do the same thing, so I don't know what is causing the difference.
I'm on SLES 15 SP1 and using GNU Wget 1.20.3.
According to Wgetrc Location manual
So first thing to check is if
WGETRCis set. If it is and is other than$HOME/.wgetrcthenwgetwill not load latter.I am not sure in relation to what is wget looking for files, so I would try using absolute path rather than relative.