From ec1e50058bbd1e3e45236057848c3102025607fe Mon Sep 17 00:00:00 2001 From: ssamson-tis Date: Tue, 30 Jun 2015 10:33:46 +0200 Subject: [PATCH] Fix: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) --- libtisbackup/copy_vm_xcp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtisbackup/copy_vm_xcp.py b/libtisbackup/copy_vm_xcp.py index 37edaed..44e6c09 100755 --- a/libtisbackup/copy_vm_xcp.py +++ b/libtisbackup/copy_vm_xcp.py @@ -33,6 +33,8 @@ import urllib2 import base64 import socket from stat import * +import ssl +ssl._create_default_https_context = ssl._create_unverified_context class copy_vm_xcp(backup_generic):