macos – 由于“未知消息摘要算法”,Curl无法访问github.com

macos – 由于“未知消息摘要算法”,Curl无法访问github.com,第1张

概述我一直在尝试整天安装RVM,而且我一直都被curl挂断了,因为curl拒绝连接到 https://github.com. 这是我当前的错误:curl:(35)错误:0D0890A1:asn1编码例程:ASN1_verify:未知消息摘要算法 这是我使用verbose标志时的日志输出: * About to connect() to github.com port 443 (#0)* Tryi 我一直在尝试整天安装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”选项并且它有效. 总结

以上是内存溢出为你收集整理的macos – 由于“未知消息摘要算法”,Curl无法访问github.com全部内容,希望文章能够帮你解决macos – 由于“未知消息摘要算法”,Curl无法访问github.com所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1048260.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存