in Elftronix

How To Automatically Skip Wget SSL Certificate Check

A lot of servers use self signed and cheap SLL certificates. That’s why downloading stuff with wget, you might get this quite a lot:


–2014-01-01 01:01:01–
Resolving (…,
Connecting to (||:443… connected.
ERROR: The certificate of `’ is not trusted.
ERROR: The certificate of `’ hasn’t got a known issuer.

In an ideal world, you would use a separate option to get passed this, only if you have good reason to trust the host. Which is as simple as:

wget –no-check-certificate

However, that is a whopping 22 characters you have to type, every time to do that.

Wget SSL Certificate Check

In most cases, you have no option but to pass a security exemption if you really need the file! Thus this has become annoying enough that I have made it permanent. Automatically skipping the certification check when I’m downloading anything from anywhere.

Fire up your text editor and point it to your users home directory and a file called “.wgetrc”, for example:

pico $HOME/.wgetrc

and add the line:

check_certificate = off

If you want to tweak some more, here are all the possible commands you can add to the wget configuration startup file.

Care and share, let's call it fair! -David

Twitter Button Facebook Button Google Button LinkedIn Button

Write a Comment


  • Related Content by Tag