当我尝试在我的 ubuntu 12.04 TLS 服务器上 Curl 一个 SSL 页面时,它不起作用:
不是 ssl 页面:
$ curl https://evernote.com/ -vv
[the entire webpage]
Run Code Online (Sandbox Code Playgroud)
ssl页面:
$ curl https://evernote.com/ -vv
* About to connect() to evernote.com port 443 (#0)
* Trying 204.154.94.73... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to evernote.com:443
* Closing connection #0
curl: (35) Unknown SSL protocol error in connection to evernote.com:443
Run Code Online (Sandbox Code Playgroud)
这确实适用于我自己的机器(OS X)。 …