Ben*_*rth 7 macos ssl curl openssl osx-mavericks
我一直在尝试整天安装RVM,而且我一直都被curl挂断了,因为curl拒绝连接到https://github.com.
这是我当前的错误: curl: (35) error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
这是我使用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, 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
Run Code Online (Sandbox Code Playgroud)
我正在使用MacBook Pro运行Mavericks(10.9.2).Brew说我的卷发和我的openssl是最新的.
最初,curl告诉我github没有正确的SSL证书,但我设法最终使用此命令解决了这个问题: export CURL_CA_BUNDLE="/System/Library/OpenSSL/certs/cacert.pem"
任何帮助将不胜感激!
| 归档时间: |
|
| 查看次数: |
14328 次 |
| 最近记录: |