Template talk:Installation/RVM

From diaspora* project wiki
Revision as of 13:33, 16 October 2014 by Jlebleu (talk | contribs) (→‎cURL note)

cURL note

Hey User:Jlebleu, mind explaining how I can reproduce the issue that lead you to add that note? --Jhass (talk) 13:21, 16 October 2014 (UTC)

What I Did

  • A wheezy basic install in a new VM (virtualbox)
  • created a user diaspora with no rights and no access to sudo
  • followed all installation instruction in page till curl -L dspr.tk/1t | bash
  • Had the problem
diaspora@debian-wheezy:~$ curl --insecure -L dspr.tk/1t | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0   649    0     0    478      0 --:--:--  0:00:01 --:--:--  5276
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (60) SSL certificate problem: self signed certificate in certificate chain
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). If the default
 bundle file isn't adequate, 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.
  • That's it