我一直在尝试整天安装RVM,而且我一直都被curl挂断了,因为curl拒绝连接到
https://github.com.
这是我当前的错误:curl:(35)错误:0D0890A1:asn1编码例程:ASN1_verify:未知消息摘要算法
这是我使用verbose标志时的日志输出:
- * 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,Server hello (2):
- * SSLv3,CERT (11):
- * SSLv3,TLS alert,Server hello (2):
- * error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
- * Closing connection 0
我正在使用MacBook Pro运行Mavericks(10.9.2). Brew说我的卷发和我的openssl是最新的.
最初,curl告诉我github没有正确的SSL证书,但我设法用这个命令最终解决了这个问题:export CURL_CA_BUNDLE =“/ System / Library / OpenSSL / certs / cacert.pem”
任何帮助将不胜感激!
解决方法
我有同样的错误;我尝试了“-k”选项并且它有效.