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

时间:2017-02-02 14:39:11

标签: php ssl curl https

最近,在我的Mac上,我运行了这个命令:

curl https://randomuser.me/api/

我一直在

  

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

你们之前有过这样的事吗?

它曾经工作过。 :( 它曾经给我一个数据列表。

{"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"}}

关于我应该研究什么的任何建议?

已更新

我已关注this answer并尝试过。这是我的结果:

└── 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 个答案:

没有答案