cURL SSL is broken after EasyApache 4 upgrade
After upgrading Easy Apache from 3 to 4, I am now getting a cURL SSL error:
'35: The error message is SSL connect error'
The cURL SSL options are:
curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'RC4-MD5');
The server's cURL settings are:
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Can you see what I need to do?
-
Hello, You can verify that cURL is installed for the version of PHP utilized by this website with a command such as: rpm -qa|grep php-curl
The output will resemble this, depending on what PHP versions are installed:# rpm -qa|grep php-curl ea-php55-php-curl-5.5.38-8.8.6.cpanel.x86_64 ea-php70-php-curl-7.0.14-1.1.6.cpanel.x86_64 ea-php56-php-curl-5.6.29-1.1.5.cpanel.x86_64
Is this the error message you reported from an actual script using cURL with PHP over SSL, or from a script that's testing if the server supports cURL SSL? There's a thread where this is discussed at: curlssl missing? Thank you.0 -
Thank you for replying. Some context: The error is happening on what was a working e-commerce website. The bit that took the money involved passing an XML message to a processor over a cURL post with the SSL settings above. I updated to Easy Apache 4 (from 3) and it knocked this cURL request out, with it now returning "SSL connect error". Running the command: rpm -qa|grep php-curl
Returnsea-php55-php-curl-5.5.38-8.8.6.cpanel.x86_64 ea-php71-php-curl-7.1.0-14.14.2.cpanel.x86_64 ea-php56-php-curl-5.6.29-1.1.6.cpanel.x86_64 ea-php54-php-curl-5.4.45-26.26.6.cpanel.x86_64
The website I'm looking at is running 5.6.29.0 -
I also experienced the similar issue today after converting from EA3 to EA4. The curl was installed in EA3 but it was missing from PHP 5.6 after the conversion, however, I found PHP 5.5 and 7.0 have the curl installed. I've fixed the issue by re-compile the cpanel default profile "CloudLinux + All PHP Options + OpCache" instead of the conversion profile. 0 -
Hello @dAvIdP___, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here and we will update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments