如果我对一台运行 OpenSSL 1.0.0e 的机器运行 curl 命令,例如:
curl -v https://shumaker.flexrentalsolutions.com
在运行 OpenSSL 0.9.8r 的机器上,我收到以下错误:
About to connect() to shumaker.flexrentalsolutions.com port 443 (#0)
* Trying 50.112.122.15... connected
* Connected to shumaker.flexrentalsolutions.com (50.112.122.15) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
* Closing connection #0
如果我在一台运行OpenSSL 1.0.0e的机器上运行相同的curl命令,则该命令会顺利完成。
看起来握手没有正确完成,似乎是由于两个OpenSSL版本之间的某些不兼容性造成的。
有任何想法如何修复这个问题吗?