douou1872 2017-02-02 14:39
浏览 586

curl:错误:14077410:SSL例程:SSL23_GET_SERVER_HELLO:sslv3警报握手失败

Lately, on my Mac, I ran this command :

curl https://randomuser.me/api/

I keep getting

curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Have you guys faced something like this before ?

It used to work. :( It used to return me a list of data.

{"results":[{"gender":"female","name":{"title":"mrs","first":"tamara","last":"beyer"},"location":{"street":"3250 jahnstraße","city":"torgau-oschatz","state":"sachsen","postcode":28295},"email":"tamara.beyer@example.com","login":{"username":"bigwolf528","password":"jennifer","salt":"dn4vwusR","md5":"47cbc9953f76fc8882e47e9d1e6b30ed","sha1":"965105a6c81d6bf4909688fdd9c580d02f6c4ef6","sha256":"f9c54871a37154996d02fd489ae635688ba7adfe5ef0914b925d1eaeb39b5adb"},"dob":"1947-11-20 00:29:05","registered":"2006-07-17 13:07:06","phone":"0738-5061390","cell":"0173-4406143","id":{"name":"","value":null},"picture":{"large":"https://randomuser.me/api/portraits/women/0.jpg","medium":"https://randomuser.me/api/portraits/med/women/0.jpg","thumbnail":"https://randomuser.me/api/portraits/thumb/women/0.jpg"},"nat":"DE"}],"info":{"seed":"75362ef6e82d3778","results":1,"page":1,"version":"1.1"}}

Any suggestion on what I should look into ?


Updated

I've follow this answer and tried. Here are my result :

└── curl -2 https://randomuser.me/api/
curl: (35) Unknown SSL protocol error in connection to randomuser.me:443 


└── curl --sslv2 https://randomuser.me/api/
curl: (35) Unknown SSL protocol error in connection to randomuser.me:443 


└── curl -3 https://randomuser.me/api/
curl: (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure


└── curl --sslv3 https://randomuser.me/api/
curl: (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure


└── curl -L https://randomuser.me/api/
curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

curl -V

curl 7.38.0 (x86_64-apple-darwin14.0.0) libcurl/7.38.0 OpenSSL/0.9.8zd zlib/1.2.5 libidn/1.20 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz 
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
    • ¥15 帮我写一个c++工程
    • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
    • ¥15 关于smbclient 库的使用
    • ¥15 微信小程序协议怎么写
    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?