开发者社区> 问答> 正文

"CURLE_SSL_CONNECT_ERROR (35)"错误寻求解决方法

使用手册对这个错误值的解释是这样的:

CURLE_SSL_CONNECT_ERROR (35)

A problem occured somewhere in the SSL/TLS handshake. You really want 
the error buffer and read the message there as it pinpoints the problem 
slightly more. Could be certificates (file formats, paths, permissions), 
passwords, and others.

主要有如下一些问题:

对于排查这个错误有什么建议?
如果曾遇到过这样的问题,最后又是怎么解决的?
以上所指的paths,默认值是哪个路径,如果要修改的话,怎么修改?
想迫切了解一下第三点,因为所使用的嵌入式文件系统为只读,如果牵扯到修改文件之类的,那必然是失败的。(备注:这一问我从Meteor处得到了答案,CApath: /etc/ssl/certs是Linux环境下的默认路径)在哪个源文件可以更改这个默认的配置路径?(这里有更改CApath路径的接口介绍)

ssl连接的时候,又出现了状况:

  • error:10067066:elliptic curve routines:ec_GFp_simple_oct2point:invalid encoding

展开
收起
a123456678 2016-06-17 17:37:53 12754 0
1 条回答
写回答
取消 提交回答
  • 这里面可以包括被GFW墙掉的吧.
    比如Facebook

    PS C:Usersmeteor> curl -v https://www.facebook.com

    • About to connect() to www.facebook.com port 443 (#0)
    • Trying 31.13.64.129... connected
    • Connected to www.facebook.com (31.13.64.129) port 443 (#0)
    • successfully set certificate verify locations:
    • CAfile: C:Windowssystem32curl-ca-bundle.crt
      CApath: none
    • Unknown SSL protocol error in connection to www.facebook.com:443
    • Closing connection #0
      curl: (35) Unknown SSL protocol error in connection to www.facebook.com:443

    PS C:Usersmeteor>
    screenshot

    2019-07-17 19:43:17
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载