Próbowałem zainstalować RVM przez cały dzień i przez cały czas byłem zawieszony przez curl, który odmawia połączenia z https://github.com.Curl nie może uzyskać dostępu do github.com z powodu "nieznanego algorytmu skrótu komunikatu".
Oto mój obecny błąd: curl: (35) error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
Oto wynik dziennika kiedy używam opisowy flag
* About to connect() to github.com port 443 (#0)
* Trying 192.30.252.130...
* Adding handle: conn: 0x100805400
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x100805400) send_pipe: 1, recv_pipe: 0
* Connected to github.com (192.30.252.130) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /System/Library/OpenSSL/certs/cacert.pem
CApath: none
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
* Closing connection 0
jestem na 2011 MacBook Pro Mavericks biegania (10.9.2). Brew mówi, że moje curl i mój openssl są aktualne.
Początkowo curl mówił mi, że github nie ma odpowiedniego certyfikatu SSL, ale w końcu udało mi się obejść, że z tym poleceniem: export CURL_CA_BUNDLE="/System/Library/OpenSSL/certs/cacert.pem"
Każda pomoc będzie bardzo mile widziane!
Moje '/ System/Library/OpenSSL/certs /' jest puste. Czy na pewno istnieją certyfikaty w pliku 'cacert.pem'? Jeśli masz 'cacert.pem', czy jest on czytelny na całym świecie? – jww
Tak, pobrałem cacert.pem ze strony internetowej: http://curl.haxx.se/docs/caextract.html Plik powinien być czytelny dla całego świata. Oto wynik polecenia ls -l: '-rw-r - r-- 1 root wheel 250283 Apr 22 20:12 cacert.pem' – BenWurth