Various Plesk operations fail: error setting certificate verify locations: CApath: none

  • An error like these appears in the extensions catalog, backup scheduler, during Plesk updates, or while running the Daily Maintenance task

    error setting certificate verify locations: CAfile: C:\Program Files (x86)\Plesk\admin\conf\cacert.pem CApath: none

    Internal server error

  • Installing WordPress using the Applications menu fails

    Error: The following error has occurred during the download of application:
    HTTP Error (0) https://cdn.apscatalog.plesk.com/all-app/WordPress.org/WordPress/5.2.1-273.aps?packager=Plesk

    Sharing Violation

Cause

The CA certificate, cacert.pem, is corrupted or missing, which prevents connections from being established.

Resolution

Download and install the missing file.

Windows
  1. Connect to the server over RDP
  2. Download cacert.pem from the cURL website: http://curl.haxx.se/ca/cacert.pem
  3. Place the file inside %plesk_dir%admin\conf.
  4. Make sure that these directives in %plesk_dir%admin\conf\php.ini have the right path to cacert.pem

    curl.cainfo="C:\Program Files (x86)\Plesk\admin\conf\cacert.pem"
    openssl.cafile="C:\Program Files (x86)\Plesk\admin\conf\cacert.pem"

 

Kaynak : https://support.plesk.com/hc/en-us/articles/12377087564567-Various-Plesk-operations-fail-error-setting-certificate-verify-locations-CApath-none