Привет Я пытаюсь установить RVM на Mac OsX v 10.4.11.Ошибка сертификата SSL при установке rvm
В терминале набираю:
curl -L get.rvm.io | bash -s stable
Я получаю это сообщение:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 387 0 --:--:-- --:--:-- --:--:-- 0
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.
я нашел подобные вопросы на StackOverflow например Curl Certificate Error when Using RVM to install Ruby 1.9.2, но а) это проблема с установкой RVM в первое место, не используя RVM для установки новой версии Ruby и, что более важно, b) лучшие ответы на подобные вопросы предполагают, что это ошибка, возникающая при обращении к старому сайту RVM, т.е. rvm.beginrescueend.com. Приведенное решение заключается в использовании
curl -L get.rvm.io | bash -s stable
который, что я использую, но который генерирует, для меня, это сообщение об ошибке, и, следовательно, почему я застрял. Любая помощь будет принята с благодарностью, спасибо
Филлип
Добавьте переключатель '-k'' curl -k -L ... '. – Casper