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 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 wget SSL certification check, when I’m downloading pretty much anything from anywhere.

Open text editor and point it to 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.

Thanks for reading and comments welcome! David.

Caring is sharing.. thank you! -David

Twitter Button Facebook Button Google Button LinkedIn Button

Write a Comment


  • Related Content by Tag