Running curl with OpenSSL 0.9.8 against OpenSSL 1.0.0 server causes handshake error?

前端 未结 5 1838
长发绾君心
长发绾君心 2020-12-07 01:28

If I run curl against a machine that is running OpenSSL 1.0.0e for example:

curl -v https://shumaker.flexrentalsolutions.com

on a machine t

5条回答
  •  北海茫月
    2020-12-07 01:42

    Now due to the POODLE vulnerability many sites are now disabling SSL 3.0

    You should use TLS like this :

    curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1)

    If you still have error (for Apache) check if your vhost get the correct setting ServerName

提交回复
热议问题