Applicable to:
- Plesk for Windows
- Plesk for Linux
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)\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=PleskSharing Violation
The errors above may cause these symptoms
-
WordPress packages that are 0 size in
%plesk_dir%var\modules\wp-toolkit\packages
-
Domain log files larger than the log rotation limit
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%admin\conf
. -
Make sure that these directives in
%plesk_dir%admin\conf\php.ini
have the right path tocacert.pem
curl.cainfo="C:\Program Files (x86)\Plesk\admin\conf\cacert.pem"
openssl.cafile="C:\Program Files (x86)\Plesk\admin\conf\cacert.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
Comments
0 comments
Please sign in to leave a comment.