• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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