How do I fix wget on an HTTP url not trusted errors in kali?

If you are using Debian or Ubuntu, install the ca-certificates package:

$ sudo apt-get install ca-certificates

If you don't care about checking the validity of the certificate, use the --no-check-certificate option:

$ wget --no-check-certificate https://download/url

Note: The second option is not recommended because of the possibility of a man-in-the-middle attack.


Per TFM for wget use the

--no-check-certificate

option.

"Don't check the server certificate against the available certificate authorities. Also don't require the URL host name to match the common name presented by the certificate."