Ignore certificate warnings in wget


If you find yourself using wget instead of curl (either by necessity, or because you have no taste), you may get errors like this:

ERORR: The certificate of `example.com' is not trusted.

This should raise warning flags. If you wish to ignore (and I won’t be held responsible for any ill effects), use this flag to bypass:

$ wget --no-check-certificate $url

Done and done.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.