wget usage notes for ignoring invalid https certificates and using a proxy

Published: Tuesday, 22 May 2012


This is a tool which downloads files via HTTP, HTTPS or FTP.

Basic usage for wget

$ wget http://example.com



Use this if you do not want to check the https certificate. Sometimes you will get warnings such as:

WARNING: The certificate of `example.com' is not trusted.
WARNING: The certificate of `example.com' hasn't got a known issuer.

No data will be downloaded. To ignore the WARNING and download anyway, add the no-check-certificate option:

$ wget --no-check-certificate https://example.com

proxy-user and proxy-password

To use a proxy, specify proxy-user and proxy-password. You will also need to have the environment variable http_proxy set to the proxy server’s URL. Note that http_proxy is in lowercase.

You can also specify the username and password in the URL, e.g. http://username:password@example.com:8080