The following URL redirects to a microsoft.com subdomain: https://tb.rg-adguard.net/dl.php?go=3dd1ce66
Namely to https://software.download.prss.microsoft.com/db/Win10_20H2_v2_EnglishInternational_x64.iso?t=...
(...
being a random token)
I was able to get the final redirect URL by running:
curl -LsI -o /dev/null -w %{url_effective} "https://tb.rg-adguard.net/dl.php?go=7e583fea
But no matter if I run wget https://tb.rg-adguard.net/dl.php?go=3dd1ce66
or wget https://software.download.prss.microsoft.com/db/Win10_20H2_v2_EnglishInternational_x64.iso?t=...................
I always get certificate errors that I don't get when downloading the file using Firefox.
wget https://software.download.prss.microsoft.com/db/Win10_20H2_v2_EnglishInternational_x64.iso\?t\=...................
--2022-04-12 14:57:29-- https://software.download.prss.microsoft.com/db/Win10_20H2_v2_EnglishInternational_x64.iso?t=..........................
Resolving software.download.prss.microsoft.com (software.download.prss.microsoft.com)... 152.199.21.175, 2606:2800:233:1cb7:261b:1f9c:2074:3c
Connecting to software.download.prss.microsoft.com (software.download.prss.microsoft.com)|152.199.21.175|:443... connected.
ERROR: The certificate of ‘software.download.prss.microsoft.com’ is not trusted.
Why is the behavior not consistent across different applications (Firefox vs wget). Is there actually reason not to trust that certificate (and if so why is Firefox not catching that) or is wget at fault?
I'm using Fedora 35 x64 with Wget 1.21.2 and Firefox 98.0.
wget
is using Fedora's certificates (from theca-certificates
package), while Firefox uses it's own trust-store.curl
andwget
. Have you installed theca-certificates
package?curl
works, butwget
fails. I can't even getwget
to work with the--ca-certificate={file}
option and a copy of the Digicert Global Root G2 certificate. This seems a Fedorawget
issue.gnutls-cli software.download.prss.microsoft.com
works on Debian, but fails on Fedora.wget
uses gnutls for TLS...