3

I'm working on deploying my first rails app to my mediatemple(dv) and i'm first trying to install RVM using this command:

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

and I get the following error:

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

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). The default
 bundle is named curl-ca-bundle.crt; you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
  Make sure your certificates are up to date as described above.
  To continue in insecure mode run 'echo insecure >> ~/.curlrc'.

It looks like I should be able to specify -k/--insecure to skip the certificate check, but how can I do that? I'm kind of a linux rookie.

Catfish
  • 227
  • 1
  • 11

1 Answers1

3

Did you read the error message properly ? The last line in that message has the solution.

echo insecure >> ~/.curlrc

Run the above in your shell and rerun the RVM installer.

Shyam Sundar C S
  • 1,063
  • 8
  • 12