🌑

Linhost.info

Wget Ignore Invalid SSL Certificates

This is more of a note to my self since I tend to easily forget how to tell Wget to skip certificate checks on self signed addresses. The added parameter below is self explanatory, it tell Wget to ignore the cert check and go ahead.

1
wget --no-check-certificate https://ididntpayforacert.ca/file.gz

If you frequently work with self-signed certificates then you can make a change to the Wget config file to let you work with self-signed certificates without resulting in an error.

1
nano $HOME/.wgetrc

And add the following parameter to the bottom of the config file.

1
check certificate=off

— Apr 23, 2015