Symptoms
Unable to update Plesk components:
C:Program Files (x86)Pleskbinextension.exe --upgrade-url https://ext.plesk.com/packages/bebc4866-d171-45fb-91a6-4b139b8c9a1b-panel-migrator/download?2.17.1-723 failed with error 1(0x00000001). Output:
STDERR:Error in cURL request: error setting certificate verify locations:
CAfile: C:Program Files (x86)Pleskadminconfcacert.pem
CApath: none
Cause
PHP cURL is using an outdated set of root certificates to verify server certificates; the certificate file is missing in the curl.cainfo directory.
Resolution
Connect to the server via RDP.
Open
%plesk_dir%adminconfpanel.inifile (create it if it doesn't exist) and add the below directive to it.[php]
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem"Download the
cacert.pemfile from the main curl website http://curl.haxx.se/ca/cacert.pem.Place the downloaded
cacert.pemfile into the directory set ascurl.cainfoin%plesk_dir%adminconfphp.ini.