• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue After upgrading CURL, website can't use SSL + CURL

stas styler

Basic Pleskian
Hello,

We've upgraded CURL to "curl 7.63.0 (x86_64-redhat-linux-gnu)" on our server (Centos7 + Plesk onyx 17.8) .

After restarting all the needed services, websites cant use curl to https destinations.
I've looked a lot on the forum + KB and found that we need to edit he panel.ini with this:

Code:
[php]
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"

Waited for 2 days, that didn't solve anything.
What did solve for a single domain is to download the cert and upload it to httdocs of the website and adding the php directive to read the CA from there.

That's not a solution, we need to figure out how to solve this globaly and ASAP, many websites can't use many plugins.
Any ideas? help?
 
Try to do following:

Download certificate file http://curl.haxx.se/ca/cacert.pem with wget and move it to /etc/ssl/certs/ directory.
Then go to Domains > example.com > PHP Settings > Additional directives > add line

curl.cainfo="/etc/ssl/certs/cacert.pem"

into it and press OK.
 
Back
Top