Applicable to:
- Plesk Onyx for Windows
Symptoms
Unable to update Plesk components:
CONFIG_TEXT: C:\Program Files (x86)\Plesk\bin\extension.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)\Plesk\admin\conf\cacert.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%admin\conf\panel.ini
file (create it if it doesn't exist) and add the below directive to it.CONFIG_TEXT: [php]
curlCertificatesUrl="http://curl.haxx.se/ca/cacert.pem" -
Download the
cacert.pem
file from the main curl website http://curl.haxx.se/ca/cacert.pem. -
Place the downloaded
cacert.pem
file into the directory set ascurl.cainfo
in%plesk_dir%admin\conf\php.ini
.
Comments
0 comments
Please sign in to leave a comment.