• 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 php curl requests to SSL sites

Jonas N

Basic Pleskian
Plesk Certified Professional
Hi

I am trying to auto update the cacert.pem
i found this guide but but i the problem is that i can not find the panel.ini file
Websites are unable to make php curl requests to SSL sites

I do find a panel.ini.sample
is this the one i should edit ? and should i paste this in ?
PHP:
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"

Does it auto update the cacert ? 

Kind regards 
Jonas
 
Hi Jonas N,

as documented at your above mentioned KB - article, you should consider to add:
Code:
[php]
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"
... if you desire the "Daily Maintenance Script" to update "%plesk_dir%\Additional\PHPSettings\cacert.pem" daily.

So the answer to your question:
Does it auto update the cacert ?
... is: Yes! - If you set it up as suggested. :)
 
Hi UFHH01

Thx for the reply.
Some follow up questions.

I did only find the panel.ini.sample file and not the panel.ini file.
Should i rename that on to panel.ini and add the following in it

PHP:
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"

Is the update in daily maintenance scipt already there or do i need to add something in it ? 

//
Jonas
 
Should i rename that on to panel.ini
Plesk doesn't install a "panel.ini" on servers, where Plesk has been installed, but instead provides a SAMPLE, which you are able to use. You should consider to COPY a sample and never just rename it, as you would never have an original backup - file, in case that you messed up your current "panel.ini" with manual changes. ;)

and add the following in it
No! Your example code inside the forum CODE - brackets is still incorrect, why I suggested the correct example to be inserted inside your "panel.ini" at => #3. :)
 
Plesk doesn't install a "panel.ini" on servers, where Plesk has been installed, but instead provides a SAMPLE, which you are able to use. You should consider to COPY a sample and never just rename it, as you would never have an original backup - file, in case that you messed up your current "panel.ini" with manual changes. ;)


No! Your example code inside the forum CODE - brackets is still incorrect, why I suggested the correct example to be inserted inside your "panel.ini" at => #3. :)

Yes of course, Always use a copy... = ) What is wrong with the brackets ? Please show me the correct " code "

Many thx for the help so far ufhh01
 
Hi Jonas N,

o.k., as desired, I will show you again, WHAT should be inserted ( as you don't seem to like the idea to scroll up to => #3 :( )

Code:
[php]
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"
 
Sorry i totally miss understood you regarding that.
Once again many thx for the help. Will try this now..
 
Back
Top