0

When I try to run the wget command on http urls I get this error message:

ERROR: The certificate of `url' is not trusted.
ERROR: The certificate of `url' hasn't got a known issuer.
5

If you are using Debian or Ubuntu operating system please install the package

$ sudo apt-get install ca-certificates

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

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

NOTE: Second option not recommended because of possibility to man-in-the-middle attack.

  • Im using kali linux 2.O – Mordechai Hadad Jan 5 '17 at 11:08
  • Its telling me: Bus Error E: Sub-process /usr/bin/apt-listchanges --apt – Mordechai Hadad Jan 5 '17 at 16:36
1

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."

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.