67756: Acronis Cyber Protect Cloud: Upgrade to Acronis APS package v2.2-2503 fails with "SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed"

use Google Translate

Last update: 18-11-2022


An attempt to upgrade Acronis APS package from a previous version 2.2-2324 (or older) to the latest APS v2.2-2503 might fail with the following error:

SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

ERROR: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
Traceback (most recent call last):
File "/usr/local/share/acronis-backup-cloud.premium/scripts/install.py", line 388, in main
aps = get_aps_connection(public_api)
File "/usr/local/share/acronis-backup-cloud.premium/scripts/install.py", line 341, in get_aps_connection
File "/usr/lib64/python2.7/httplib.py", line 1236, in connect
File "/usr/lib64/python2.7/ssl.py", line 350, in wrap_socket
File "/usr/lib64/python2.7/ssl.py", line 611, in __init__
File "/usr/lib64/python2.7/ssl.py", line 833, in do_handshake
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
warning: %post(acronis-backup-cloud.premium-2.2-2503.el7.centos.noarch) scriptlet failed, exit status 1


To solve this issue it is necessary to disable Python certificate validation by running the following command in the command line of the APS endpoint server prior to performing the upgrade:

# PYTHONHTTPSVERIFY=0 rpm -Uvh acronis-backup-cloud-2.2-latest.premium.x86_64.rpm