hasen's tech life

Twitter: @hasen

(未解決) SSL operation failed with code 1. OpenSSL Error messages: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

curlの結果,下記のエラーが.

> SSL operation failed with code 1. OpenSSL Error messages: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

'curl_setopt()'で'CURLOPT_SSLVERSION'に指定する方法が提案されていたけれど,ドキュメントには

"Note:Your best bet is to not set this and let it use the default. Setting it to 2 or 3 is very dangerous given the known vulnerabilities in SSLv2 and SSLv3."

とある.どうしたものか...

http://php.net/manual/en/function.curl-setopt.php