• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Curl CA Certificate Problem

weelow

Basic Pleskian
I am using plesk on a windows server and for CURL to make successful SSL connections the CURL CA certificate needs to be uptodate

It reads from this location
C:\Program Files (x86)\Plesk\Additional\PHPSettings\

I manually updated the certificate to the latest version from the CURL website. However the CA certificate gets replaced by an older version on a daily basis. There is no corn job specifically set to do that but I think one of Plesk maintenance scripts are doing that. I want it to either use the latest certificate from the source or stop replacing the new certificate.

Anyone know how to do that?
 
https://support.plesk.com/hc/en-us/...unable-to-make-php-curl-requests-to-SSL-sites

Since 12.5 on Windows, the URL, from which cacert.pem is downloaded, can be specified in panel.ini file:

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

You can find panel.ini in %plesk_dir%\admin\conf location
By default there is no such file (only panel.ini.sample), you can copy it with name panel.ini and add appropriate setting.

In this case Plesk will download CA certs from specified URL.
 
https://support.plesk.com/hc/en-us/...unable-to-make-php-curl-requests-to-SSL-sites

Since 12.5 on Windows, the URL, from which cacert.pem is downloaded, can be specified in panel.ini file:

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

You can find panel.ini in %plesk_dir%\admin\conf location
By default there is no such file (only panel.ini.sample), you can copy it with name panel.ini and add appropriate setting.

In this case Plesk will download CA certs from specified URL.

I did that before using the plesk panel.ini extension, and it didnt work. The certificate file was still being replaced by an older certificate.
Anyway i followed your method and restarted the plesk server. lets see what happens tomorrow. I will update the thread accordingly.
Thanks for your help
 
Back
Top