Created
June 18, 2015 11:45
-
-
Save prochor666/7322493bd466615ee73a to your computer and use it in GitHub Desktop.
Solving Composer download problem with SSL, CURL has expired certificate
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
#!/bin/bash | |
# Tested on Debian Wheezy 7.1 | |
wget http://curl.haxx.se/ca/cacert.pem | |
cp cacert.pem /etc/ssl/cert/cacert.pem | |
update-ca-certificates -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment