Put your message here! Contact me for more information
 
 







 

Archive for February, 2012


 

I’m setting up a Rightscale server on EC2 running CentOS 5 to use RVM, however, I ran into the issue of the ca-bundle.crt that comes with curl is too old. The RVM installer script keeps on complaining about invalid certificates.


error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

Searching the net until now (2012!) still, sadly, doesn’t give that much results. So if you have SSL certificate issue with RVM, here’s your fix:


cp /etc/pki/tls/certs/ca-bundle.crt ~/ca-bundle.crt.old
sudo curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

Basically the cacert.pem file provided by curl.haxx.se contains all the root certificates necessary for curl to verify Github’s SSL, and thus your RVM installer script will cruise happily.

view comments