-
-
Save artynet/185b238ddf57413d8088ee7091a688db to your computer and use it in GitHub Desktop.
How to fix wget certificate issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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