My install of RVM on a Ubuntu 8.04.4 machine fails. Should I install it as multi-user instead?

Go To


I am currently attempting to install RVM on an Ubuntu server using version 8.04.4.

At the moment I am a attempting a single user install. I am the only person who administers this machine and I am still pretty noobish at this. I am currently following he installations guide on the RVM site and added the 'k' flag to the curl command. The complaints about the certificate still do not go away.

$ bash -s stable < <(curl -sk
Downloading RVM from wayneeseguin branch stable

curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none

Could not download ''.
  curl returned status '77'.

My ultimate goal is merely to upgrade ruby from v1.8.6 to 1.9.2 on this machine.

I've noticed many people recommending against a multi-user installation which is why I have yet to attempt it. Is it recommended that I try a multi-user installation? If not can someone assist me in eradicating this certificate issue?

Thanks in advance.

2012-04-04 00:24
Bunch of solutions here too, do any of them help - Dave Newton 2012-04-04 00:26
gonna try getting a CA cert from The Haxx Page referenced there. I'll keep you posted : - WYSRD 2012-04-04 17:20


Do it single user. Your problem isn't RVM though -- it's the CA certs.

Read this link and make sure your SSL is up to date, and you have installed the CA certs:

To install ca certs on Ubuntu using apt:

apt-get install ca-certificates
2012-04-04 01:21
by joelparkerhenderson
hmm. I don't have the CA certs only what seems to be self-signed? snake-oil certs e.g. b14d9f7c -> - WYSRD 2012-04-04 16:50
I updated the answer with apt-get inf - joelparkerhenderson 2012-04-04 19:48
that did it. Thank you so much. Single user install successful. :). I'd upvote this if I could : - WYSRD 2012-04-04 21:23


according to man curl this problem is:

77     Problem with reading the SSL CA cert (path? access rights?).

I guess you have sissues with access rights to the mentioned file:


make sure is readable for all users:

sudo chmod 755 /etc/ /etc/ssl/ /etc/ssl/certs/
sudo chmod 644 /etc/ssl/certs/ca-certificates.crt
2012-04-04 01:23
by mpapis
i don't have that file at all just the ssl-cert-snakeoil.pem in my /etc/ssl/certs/ directory. Guess that means I have to obtain one - WYSRD 2012-04-04 16:51