cURL到HTTPS网站失败,错误:140770FC:SSL

时间:2017-11-22 11:46:35

标签: php ssl curl tls1.2

我正试图从不同的机器上搜索一个网站。当我在Air笔记本电脑上运行以下命令时,响应正常。

curl https://www.tesoralia.com --verbose

但是,如果我在Linux服务器上运行它,我会收到以下错误:

Rebuilt URL to: https://www.tesoralia.com/
Trying 2001:8d8:931:371:eb4b:6a4b:f158:0...
TCP_NODELAY set
Connected to www.tesoralia.com (2001:8d8:931:371:eb4b:6a4b:f158:0) port 443 (#0)
Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
TLSv1.2 (OUT), TLS Unknown, Certificate Status (22):
TLSv1.2 (OUT), TLS handshake, Client hello (1):
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Curl_http_done: called premature == 1
Closing connection 0
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

两台机器都具有相同的设置: SSLv3 / TLSv1.2

我尝试过使用--insecure,但也无法使用。

网站是否阻止我的IP?

0 个答案:

没有答案