github.comからのDLのために証明書のインストール
curl -LO http://xrl.us/perlbrew
を実行するとSSLエラー。
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html
原因)
2011年5月末以降、github.comにはEV SSL証明書が導入。
curl-ca-bundle.crtに証明書をインストールする必要がある。
解決方法)
http://d.hatena.ne.jp/kawausoKun/20110820/1313860245
cd ./tmp/ wget https://www.digicert.com/testroot/DigiCertHighAssuranceEVRootCA.crt sudo chmod 666 /etc/pki/tls/certs/ca-bundle.crt sudo cat DigiCertHighAssuranceEVRootCA.crt >> /etc/pki/tls/certs/ca-bundle.crt sudo chmod 644 /etc/pki/tls/certs/ca-bundle.crt
再度
curl -LO http://xrl.us/perlbrew
を試すとうまくいった♪