• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

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