Last active
August 29, 2015 14:22
-
-
Save rupurt/a9e35c8c219a37eb90f6 to your computer and use it in GitHub Desktop.
Update SSL cert
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
#!/bin/bash | |
cd /usr/local/etc/openssl/certs/ | |
curl -O http://curl.haxx.se/ca/cacert.pem | |
mv cacert.pem cert.pem | |
echo "export SSL_CERT_FILE=/usr/local/etc/openssl/certs/cert.pem" >> ~/.bash_profile.local | |
source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment