Skip to content

Instantly share code, notes, and snippets.

@artynet
Forked from chetan/fix_wget_ca.sh
Created May 21, 2016 00:52
Show Gist options
  • Save artynet/185b238ddf57413d8088ee7091a688db to your computer and use it in GitHub Desktop.
Save artynet/185b238ddf57413d8088ee7091a688db to your computer and use it in GitHub Desktop.
How to fix wget certificate issues
wget --no-check-certificate https://raw.github.com/bagder/curl/master/lib/mk-ca-bundle.pl
perl mk-ca-bundle.pl && rm certdata.txt
mkdir -p ~/.ssl/ && mv ca-bundle.crt mk-ca-bundle.pl ~/.ssl
echo "ca_certificate = ~/.ssl/ca-bundle.crt" >> ~/.wgetrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment