ssl option is set to CURL_SSLVERSION_TLSv1.
Some site disabled ssl v1 to 3 (ex: paypal).
This commit is contained in:
parent
01279edfc8
commit
1b24356e0f
@ -683,7 +683,8 @@ function hash_call($methodName,$nvpStr)
|
||||
exit;*/
|
||||
curl_setopt($ch, CURLOPT_URL, $API_Endpoint);
|
||||
curl_setopt($ch, CURLOPT_VERBOSE, 1);
|
||||
curl_setopt($ch, CURLOPT_SSLVERSION, 3); // Force SSLv3
|
||||
//curl_setopt($ch, CURLOPT_SSLVERSION, 3); // Force SSLv3
|
||||
curl_setopt($ch, CURLOPT_SSLVERSION, 1); // Force TLSv1
|
||||
|
||||
//turning off the server and peer verification(TrustManager Concept).
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user