• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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