Is there a shorter version of wget --no-check-certificate option?

Try this: (assumes *nix)

echo "check_certificate = off" >> ~/.wgetrc

Then ever after, wget will act like you specified the --no-check-certificate switch. More info at https://www.gnu.org/software/wget/manual/wget.html#Wgetrc-Syntax or https://www.gnu.org/software/wget/manual/wget.html#Wgetrc-Location


From what I can see there's no shorter version of the --no-check-certificate option.

So you could always make an alias to it. alias wgetncc='wget --no-check-certificate' (Change 'wgetncc' to whatever you please.)

Type that into the command line and after that, every time you run wgetncc it will be a shortcut to wget --no-check-certificate

If you want this to be an alias every time you login, you will have to place this in an alias file or something equivalent. It depends on the shell you are using.

Tags:

Wget