Created
March 12, 2019 08:58
-
-
Save blockspacer/0130ab09020783f3e986e9ece7410d9a to your computer and use it in GitHub Desktop.
Turn off SSL verification on the whole system (very bad).
This file contains 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
# Turn off SSL verification on the whole system (very bad). | |
# node | |
echo 'NODE_TLS_REJECT_UNAUTHORIZED=0' >> /home/vagrant/.bashrc | |
# npm | |
echo "strict-ssl=false" >> /home/vagrant/.npmrc | |
echo "registry=http://registry.npmjs.org/" > /home/vagrant/.npmrc | |
# ruby | |
echo ':ssl_verify_mode: 0' >> /home/vagrant/.gemrc | |
# yum | |
echo "sslverify=false" >> /etc/yum.conf | |
echo "sslverify=false" >> /home/vagrant/.yum.conf | |
# wget | |
echo "check-certificate = off" >> /etc/.wgetrc | |
echo "check-certificate = off" >> /home/vagrant/.wgetrc | |
# curl | |
echo "insecure" >> /etc/.curlrc | |
echo "insecure" >> /home/vagrant/.curlrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment