No CAs were found in 'C:\ProgramData/ssl/ca-bundle.pem'
Hi,
I've used wget2 for the first time on Windows 11 to download a file from addons.mozilla.org and am getting this message even though the file seems to download successfully. I couldn't find anything on this file by googling it or the path, so I figured it would be good to report it.
wget2 "https://addons.mozilla.org/firefox/downloads/file/4362793/consent_o_matic-1.1.3.xpi"
No CAs were found in 'C:\ProgramData/ssl/ca-bundle.pem'
consent_o_matic-1.1. 100% [=====================================================================>] 96.20K --.-KB/s
[Files: 1 Bytes: 96.20K [501.08KB/s] Redirects: 0 Todo: 0 Errors: 0 ]
See https://github.com/rockdaboot/wget2/issues/335
Which version are you on?
I have the same problem. Windows 11, wget2 2.1.0
Same here. Wget2 2.1.0 for Windows.
I'm still seeing this error on Windows despite a fix seemingly having been merged as part of v2.2.0, because the version of wget2 I can get through winget is still v2.1.0.
This project won't provide binaries (executables) any more, mostly due to lack of time, which keeps me from doing user support.
There is a docker file that helps you building it (cross-compile from Linux): https://github.com/rockdaboot/wget2/blob/master/contrib/Dockerfile.win32.static
If building the binary isn't possible for you, find someone trustworthy who does it for you (not sure if the existing binaries on GitHub are trustworthy, so I don't provide links here).
And then there is WSL2 for Windows where you can install any Linux distro that provides wget2 2.2.0 (Fedora, Ubuntu, Debian, Arch, ... whatever you prefer).