• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue with curl /ssl/ php5

kadoudal

Regular Pleskian
what could be wrong ? PHP5, curl, SSL ( I have a self-generated certificate for my domain - Plesk console)

thanks for your suggestions

v3
 
Acces Curl/ SSL from PHP5 script

I made a mistake before sending .. (cut all the msg)

here is the complete msg :

I transferred a PHP script from a Centos5 server into our new server Debian5 (Lenny)
now the curl request raises an error message :

Curl error: error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message

script PHP (5.2.6-1) - Lenny 10 - curl : libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18 =======
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $APIUrl);
curl_setopt ($ch, CURLOPT_HTTPHEADER, Array("Content-Type: text/xml"));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequestData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); /
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
$result = curl_exec($ch);
curl_close($ch);
return $result;
===========================================

jI tried to use Curl in the console ( tested access to Plesk Plesk ) and it runs so is a Paypal request
curl -k "https://www.paypal.com" --sslv3 ,

what could be wrong ?

httpdocs# dpkg -l | grep curl
ii curl 7.18.2-8lenny4 Get a file from an HTTP, HTTPS or FTP server
ii libcurl3 7.18.2-8lenny4 Multi-protocol file transfer library (OpenSS
ii libcurl3-gnutls 7.18.2-8lenny4 Multi-protocol file transfer library (GnuTLS
ii libcurl4-openssl-dev 7.18.2-8lenny4 Development files and documentation for libc
ii php5-curl 5.2.6.dfsg.1-1+lenny10 CURL module for php5
 
Last edited:
Back
Top