Symptoms
-
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)Pleskadminconfcacert.pem CApath: none
external 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=PleskSharing Violation
Cause
The CA certificate, cacert.pem
, is corrupted or missing, which prevents connections from being established.
Resolution
Download and install the missing file.
-
Connect to the server over RDP
-
Download
cacert.pem
from the cURL website: http://curl.haxx.se/ca/cacert.pem -
Place the file inside
%plesk_dir%adminconf
. -
Make sure that these directives in
%plesk_dir%adminconfphp.ini
have the right path tocacert.pem
curl.cainfo="C:Program Files (x86)Pleskadminconfcacert.pem"
openssl.cafile="C:Program Files (x86)Pleskadminconfcacert.pem"
-
Connect to the server over SSH
-
Run this command to download and install the CA certificate from the official cURL website
# wget https://curl.haxx.se/ca/cacert.pem && mv cacert.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem