https – How to add correct chain certificate when acessing url with wget?

If you’re sure you can trust the site, you could easily just skip certificate verification in wget with --no-check-certificate.

Aside from that, what you would need to do is to pull the correct chain via whatsmychaincert.com (it’ll show you the correct one when you search for that domain), and then specify that wget should use it with the --ca-certificate flag.

Assume you save the chain as chain.crt, you would run wget --ca-certificate chain.crt https://datashare.is.ed.ac.uk/bitstream/handle/10283/3192/CINIC-10.tar.gz.