From 1137263ef431e7ccfe160e9c0b6fd621c691c959 Mon Sep 17 00:00:00 2001 From: ssamson-tis Date: Tue, 30 Jun 2015 10:31:32 +0200 Subject: [PATCH] Fix: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) --- libtisbackup/backup_xva.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtisbackup/backup_xva.py b/libtisbackup/backup_xva.py index 3be9729..cf5a2b4 100755 --- a/libtisbackup/backup_xva.py +++ b/libtisbackup/backup_xva.py @@ -34,6 +34,8 @@ import socket import tarfile import hashlib from stat import * +import ssl +ssl._create_default_https_context = ssl._create_unverified_context class backup_xva(backup_generic):