mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: force to use sslv3
This commit is contained in:
parent
4e99563831
commit
fb09e188ff
|
|
@ -676,6 +676,7 @@ 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
|
||||
|
||||
//turning off the server and peer verification(TrustManager Concept).
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user