4
4
4ainik2018-10-19 14:32:20
PHP
4ainik, 2018-10-19 14:32:20

What is the cause of the curl error?

Kurl throws an error when making a request via https

curl: error: 35, 'error:14094410:ssl routines:ssl3_read_bytes:sslv3 alert handshake failure

In this case, we are talking about the curl module, which is called from php!
What is the reason?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel, 2018-10-19
@PavelMonro

Problem with ssl certificate or curl. Update curl to latest version or force --force

I
Ivan Shumov, 2018-10-19
@inoise

Curl works through openssl as a rule. Either it is worth updating openssl, or the server you are contacting issues a left SSL certificate

Z
zlo1, 2018-10-19
@zlo1

Options CURLOPT_SSL_VERIFYPEER , CURLOPT_SSL_VERIFYHOST disable verification of certificates
if there is an error code 35
try setting the CURLOPT_SSLVERSION option to CURL_SSLVERSION_TLSv1_0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question