Skip to content

Instantly share code, notes, and snippets.

@prochor666
Created June 18, 2015 11:45
Show Gist options
  • Save prochor666/7322493bd466615ee73a to your computer and use it in GitHub Desktop.
Save prochor666/7322493bd466615ee73a to your computer and use it in GitHub Desktop.
Solving Composer download problem with SSL, CURL has expired certificate
#!/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