Articles in this section

Unable to update Plesk: Error in cURL request: error setting certificate verify locations:

kb: technical ext: migrator ABT: Group B Plesk Onyx for Windows

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

  1. Connect to the server via RDP.

  2. 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"

  3. Download the cacert.pem file from the main curl website http://curl.haxx.se/ca/cacert.pem.

  4. Place the downloaded cacert.pem file into the directory set as curl.cainfo in %plesk_dir%admin\conf\php.ini.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.